svn commit: r320023 - svnadmin/hooks/scripts
Bryan Drewery
bdrewery at FreeBSD.org
Wed Jun 5 21:14:41 UTC 2013
Author: bdrewery
Date: Wed Jun 5 21:14:40 2013
New Revision: 320023
URL: http://svnweb.freebsd.org/changeset/ports/320023
Log:
Disable replacement check as it is being triggered
on a port copy+modification. No file replacement was done
Approved by: portmgr (implicit)
Modified:
svnadmin/hooks/scripts/verify.py
Modified: svnadmin/hooks/scripts/verify.py
==============================================================================
--- svnadmin/hooks/scripts/verify.py Wed Jun 5 21:02:22 2013 (r320022)
+++ svnadmin/hooks/scripts/verify.py Wed Jun 5 21:14:40 2013 (r320023)
@@ -231,9 +231,10 @@ class ChangeReceiver(delta.Editor):
self.do_fail('Path "%s" needs to have "svn:executable" removed with "svn propdel".\n' % path)
# 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. Path: "%s"\n' % path)
+ # Disable as a simple 'svn cp' resulted in this triggering
+ #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. Path: "%s"\n' % path)
# Whew!
core.svn_pool_destroy(subpool)
More information about the svn-ports-svnadmin
mailing list