subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1144509 - /subversion/site/publish/docs/release-notes/1.7.html
Date Fri, 08 Jul 2011 20:56:50 GMT
Author: danielsh
Date: Fri Jul  8 20:56:49 2011
New Revision: 1144509

URL: http://svn.apache.org/viewvc?rev=1144509&view=rev
Log:
* docs/release-notes/1.7.html
  (error-numbers): New section.

Modified:
    subversion/site/publish/docs/release-notes/1.7.html

Modified: subversion/site/publish/docs/release-notes/1.7.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.7.html?rev=1144509&r1=1144508&r2=1144509&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.7.html (original)
+++ subversion/site/publish/docs/release-notes/1.7.html Fri Jul  8 20:56:49 2011
@@ -271,6 +271,33 @@ Below is an example of the new output:</
 
 </div> <!-- diff-properties -->
 
+<div class="h4" id="error-numbers">
+<h4>Error and warning numbers now reported
+  <a class="sectionlink" href="#error-numbers"
+    title="Link to this section">&para;</a>
+</h4>
+
+<p>The output of <code>svn</code> now contains an error number or warning
+number with every error.  The following example illustrates these changes.</p>
+
+<pre>
+   % svn info
+   svn: E155007: '/home/CIA-91' is not a working copy
+</pre>
+
+<p>These error values are useful as search keywords.  Under the hood, these error
+codes correspond to the <a href="/docs/api/latest/svn__error__codes_8h_source.html"
+>API error codes</a> used by Subversion and APR.  For programming to our API's,
+it's possible to convert a numeric error code to a symbolic one via the <a
+href="https://svn.apache.org/repos/asf/subversion/tools/client-side/which-error.py"
+>which-error.py</a> script (first included in Subversion 1.3.0):</p>
+
+<pre>
+   % ./tools/dev/which-error.py E155007
+   00155007  SVN_ERR_WC_NOT_DIRECTORY
+</pre>
+
+</div>
 </div>  <!-- output-changes -->
 
 <div class="h3" id="compat-misc">



Mime
View raw message