subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1131442 - /subversion/trunk/tools/client-side/svnmucc/svnmucc.c
Date Sat, 04 Jun 2011 17:12:47 GMT
Author: danielsh
Date: Sat Jun  4 17:12:47 2011
New Revision: 1131442

URL: http://svn.apache.org/viewvc?rev=1131442&view=rev
Log:
* tools/client-side/svnmucc/svnmucc.c
  (main): Allow for leading 'r' when parsing the revnum in the 'cp' action.

Modified:
    subversion/trunk/tools/client-side/svnmucc/svnmucc.c

Modified: subversion/trunk/tools/client-side/svnmucc/svnmucc.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/client-side/svnmucc/svnmucc.c?rev=1131442&r1=1131441&r2=1131442&view=diff
==============================================================================
--- subversion/trunk/tools/client-side/svnmucc/svnmucc.c (original)
+++ subversion/trunk/tools/client-side/svnmucc/svnmucc.c Sat Jun  4 17:12:47 2011
@@ -1006,6 +1006,10 @@ main(int argc, const char **argv)
           else
             {
               char *end;
+
+              while (*rev_str == 'r')
+                ++rev_str;
+
               action->rev = strtol(rev_str, &end, 0);
               if (*end)
                 handle_error(svn_error_createf(SVN_ERR_INCORRECT_PARAMS, NULL,



Mime
View raw message