You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/11/17 15:01:25 UTC

svn commit: r1036042 - /subversion/trunk/subversion/svn/main.c

Author: stsp
Date: Wed Nov 17 14:01:24 2010
New Revision: 1036042

URL: http://svn.apache.org/viewvc?rev=1036042&view=rev
Log:
* subversion/svn/main.c
  (main): Improve accuracy of a comment added in r1036032.

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

Modified: subversion/trunk/subversion/svn/main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/main.c?rev=1036042&r1=1036041&r2=1036042&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/main.c (original)
+++ subversion/trunk/subversion/svn/main.c Wed Nov 17 14:01:24 2010
@@ -1390,10 +1390,10 @@ main(int argc, const char *argv[])
               const char *s = change_str;
               svn_boolean_t is_negative;
 
-              /* Check for a leading minus to allow -c -r42.
-               * The is_negative flag is only used to handle this one case.
-               * The -c -42 case (without 'r') is handled by strtol()
-               * returning a negative number. */
+              /* Check for a leading minus to allow "-c -r42".
+               * The is_negative flag is used to handle "-c -42" and "-c -r42".
+               * The "-c r-42" case is handled by strtol() returning a
+               * negative number. */
               is_negative = (*s == '-');
               if (is_negative)
                 s++;