subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1654208 - /subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c
Date Fri, 23 Jan 2015 13:40:31 GMT
Author: philip
Date: Fri Jan 23 13:40:31 2015
New Revision: 1654208

URL: http://svn.apache.org/r1654208
Log:
On move-tracking-2 branch: make 'svnmover diff' run.

* subversion/svnmover/svnmover.c
  (sub_main): ACTION_DIFF is zero so do not error on zero.

Modified:
    subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c

Modified: subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c
URL: http://svn.apache.org/viewvc/subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c?rev=1654208&r1=1654207&r2=1654208&view=diff
==============================================================================
--- subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c (original)
+++ subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c Fri Jan 23 13:40:31
2015
@@ -1981,7 +1981,7 @@ sub_main(int *exit_code, int argc, const
               break;
             }
         }
-      if (! action->action)
+      if (j == sizeof(action_defn) / sizeof(action_defn[0]))
         return svn_error_createf(SVN_ERR_INCORRECT_PARAMS, NULL,
                                  "'%s' is not an action",
                                  action_string);



Mime
View raw message