~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4475.1.1.

  • Committer: Benoît Pierre
  • Date: 2009-06-24 22:35:17 UTC
  • mto: (4496.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4498.
  • Revision ID: benoit.pierre@gmail.com-20090624223517-v32w97rzxq8yl8yd
Improve "Path(s) are not versioned" error reporting for some commands.

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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: