subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1486597 - /subversion/trunk/tools/server-side/svnpubsub/revprop-change-hook.py
Date Mon, 27 May 2013 12:48:13 GMT
Author: brane
Date: Mon May 27 12:48:12 2013
New Revision: 1486597

URL: http://svn.apache.org/r1486597
Log:
* tools/server-side/svnpubsub/revprop-change-hook.py (main):
   Exit with an error code if the action parameter is not valid.

Modified:
    subversion/trunk/tools/server-side/svnpubsub/revprop-change-hook.py

Modified: subversion/trunk/tools/server-side/svnpubsub/revprop-change-hook.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/revprop-change-hook.py?rev=1486597&r1=1486596&r2=1486597&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/revprop-change-hook.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/revprop-change-hook.py Mon May 27 12:48:12
2013
@@ -63,7 +63,7 @@ def main(repo, revision, author, propnam
         new_value = None
     else:
         sys.stderr.write('Unknown revprop change action "%s"\n' % action)
-        return
+        sys.exit(1)
     if action in ('D', 'M'):
         old_value = sys.stdin.read()
     else:



Mime
View raw message