You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/05/01 03:37:58 UTC

svn commit: r1098207 - /subversion/trunk/subversion/svnsync/main.c

Author: hwright
Date: Sun May  1 01:37:58 2011
New Revision: 1098207

URL: http://svn.apache.org/viewvc?rev=1098207&view=rev
Log:
* subversion/svnsync/main.c
  (resolve_revnums): Set the output values before the early exit, not the
    internal values (which won't get copied later due to the early exit).

Modified:
    subversion/trunk/subversion/svnsync/main.c

Modified: subversion/trunk/subversion/svnsync/main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnsync/main.c?rev=1098207&r1=1098206&r2=1098207&view=diff
==============================================================================
--- subversion/trunk/subversion/svnsync/main.c (original)
+++ subversion/trunk/subversion/svnsync/main.c Sun May  1 01:37:58 2011
@@ -1466,8 +1466,8 @@ resolve_revnums(svn_revnum_t *start_revn
   if ((start_revision.kind == svn_opt_revision_unspecified) &&
       (end_revision.kind == svn_opt_revision_unspecified))
     {
-      start_rev = 0;
-      end_rev = SVN_INVALID_REVNUM;
+      *start_revnum = 0;
+      *end_revnum = SVN_INVALID_REVNUM;
       return SVN_NO_ERROR;
     }