[Pkg-bazaar-commits] ./bzr/unstable r408: - better message when refusing to add symlinks (from mpe)
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 07:52:10 UTC 2009
------------------------------------------------------------
revno: 408
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-09 14:38:31 +1000
message:
- better message when refusing to add symlinks (from mpe)
modified:
bzrlib/add.py
-------------- next part --------------
=== modified file 'bzrlib/add.py'
--- a/bzrlib/add.py 2005-04-01 08:27:01 +0000
+++ b/bzrlib/add.py 2005-05-09 04:38:31 +0000
@@ -48,7 +48,7 @@
kind = bzrlib.osutils.file_kind(f)
if kind != 'file' and kind != 'directory':
- bailout("can't add file of kind %r" % kind)
+ bailout("can't add file '%s' of kind %r" % (f, kind))
versioned = (inv.path2id(rf) != None)
More information about the Pkg-bazaar-commits
mailing list