svn commit: r320022 - svnadmin/hooks/scripts

Bryan Drewery bdrewery at FreeBSD.org
Wed Jun 5 21:02:23 UTC 2013


Author: bdrewery
Date: Wed Jun  5 21:02:22 2013
New Revision: 320022
URL: http://svnweb.freebsd.org/changeset/ports/320022

Log:
  Show path in replacement error

Modified:
  svnadmin/hooks/scripts/verify.py

Modified: svnadmin/hooks/scripts/verify.py
==============================================================================
--- svnadmin/hooks/scripts/verify.py	Wed Jun  5 20:59:33 2013	(r320021)
+++ svnadmin/hooks/scripts/verify.py	Wed Jun  5 21:02:22 2013	(r320022)
@@ -233,7 +233,7 @@ class ChangeReceiver(delta.Editor):
     # POLICY: file replacement is not allowed
     for path, change in fs.paths_changed(self.txn_root).iteritems():
       if (change.change_kind == fs.path_change_replace):
-        self.do_fail('Do not replace a file. This will break the CVS exporter.\n')
+        self.do_fail('Do not replace a file. This will break the CVS exporter. Path: "%s"\n' % path)
 
     # Whew!
     core.svn_pool_destroy(subpool)


More information about the svn-ports-svnadmin mailing list