You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tez Kamihira <te...@kamihira.com> on 2003/12/18 08:54:08 UTC

ch07.xml

Hi,


       - Tez



Index: ch07.xml
===================================================================
--- ch07.xml    (revision 8011)
+++ ch07.xml    (working copy)
@@ -405,14 +405,14 @@
   /* Commit the transaction, creating a new revision of the filesystem
      which includes our added directory path.  */
   err = svn_repos_fs_commit_txn (&amp;conflict_str, repos,
-                                 &amp;youngest_rev, txn);
+                                 &amp;youngest_rev, txn, pool);
   if (! err)
     {
       /* No error?  Excellent!  Print a brief report of our success.  */
       printf ("Directory '%s' was successfully added as new revision "
               "'%" SVN_REVNUM_T_FMT "'.\n", new_directory, youngest_rev);
     }
-  else if (err->apr_err == SVN_ERR_FS_CONFLICT))
+  else if (err->apr_err == SVN_ERR_FS_CONFLICT)
     {
       /* Uh-oh.  Our commit failed as the result of a conflict
          (someone else seems to have made changes to the same area

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: ch07.xml

Posted by mark benedetto king <mb...@lowlatency.com>.
On Thu, Dec 18, 2003 at 05:54:08PM +0900, Tez Kamihira wrote:
> Hi,
> 
> 
>        - Tez
> 

------------------------------------------------------------------------
r8032 | mbk | 2003-12-18 09:09:51 -0500 (Thu, 18 Dec 2003) | 3 lines

Fix some typos in the book's sample code.  This patch provided by Tez
Kamihira <te...@kamihira.com>.  Thanks, Tez!

------------------------------------------------------------------------


--ben


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org