svn commit: r493666 - svnadmin/hooks/scripts

Ryan Steinmetz zi at FreeBSD.org
Sat Feb 23 12:40:34 UTC 2019


Author: zi
Date: Sat Feb 23 12:40:33 2019
New Revision: 493666
URL: https://svnweb.freebsd.org/changeset/ports/493666

Log:
  - Further clarify error/required action
  
  Approved by:	portmgr (implicit, noop)

Modified:
  svnadmin/hooks/scripts/verify.py

Modified: svnadmin/hooks/scripts/verify.py
==============================================================================
--- svnadmin/hooks/scripts/verify.py	Sat Feb 23 12:24:22 2019	(r493665)
+++ svnadmin/hooks/scripts/verify.py	Sat Feb 23 12:40:33 2019	(r493666)
@@ -234,7 +234,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 can lose history. Try: svn cp;svn commit, then add your changes and commit.  Path: "%s"\n' % path)
+        self.do_fail('Do not replace a file, this can lose history. You must edit the files in place.  Path: "%s"\n' % path)
 
     # Whew!
     core.svn_pool_destroy(subpool)


More information about the svn-ports-svnadmin mailing list