Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2013 21:14:41 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org
Subject:   svn commit: r320023 - svnadmin/hooks/scripts
Message-ID:  <201306052114.r55LEfEv046850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306052114.r55LEfEv046850>