[MERGE] Improve "Path(s) are not versioned" error reporting for some commands
Benoît PIERRE
benoit.pierre at gmail.com
Thu Jun 25 00:05:28 BST 2009
Without this patch, 'bzr revert build NEWS' in the Bazaar source directory yields:
bzr: ERROR: Path(s) are not versioned: build
while 'bzr diff build NEWS' reports:
bzr: ERROR: Path(s) are not versioned: build NEWS
This patch changes iter_changes in bzrlib/workingtree_4.py to only show the
files which are actually not versioned, and fixes (at least) the commands
shelve and diff.
I honestly did not go through the testsuite because even without
this patch I get quite a few errors and some hangups during
selftest.
--
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: better_PathsNotVersionedError_reporting-4476.patch
Type: text/x-diff
Size: 3989 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090625/06d98189/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090625/06d98189/attachment.pgp
More information about the bazaar
mailing list