Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2013 21:02:22 +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: r320022 - svnadmin/hooks/scripts
Message-ID:  <201306052102.r55L2M4t042989@svn.freebsd.org>

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



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