bzr status should not ignore all other command line arguments when passed a non-existent file
Bug #306394 reported by
dann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Karl Fogel |
Bug Description
Assume that bar and baz are registered under bzr, foo is not.
Running the command below (-v -S is what emacs uses for the vc-dir command):
bzr status -v -S foo bar baz
results in:
bzr: ERROR: Path(s) do not exist: foo
nothing is shown about the other 2 files.
The other arguments should not be just ignored, their status is still useful.
If more that one file does is not registered, printing a
bzr: ERROR: Path(s) do not exist:
line for each one is fine.
This type of operation occurs in normal usage in emacs when using the vc-dir GUI.
Changed in bzr: | |
status: | Fix Committed → Fix Released |
Changed in bzr: | |
milestone: | none → 1.12rc1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I believe this is fixed now:
$ bzr --version src/bzr/ bzr.dev src/bzr/ bzr.dev/ bzrlib .bazaar .bzr.log
Bazaar (bzr) 1.11dev
from bzr checkout /home/kfogel/
revision: 3828
revid: <email address hidden>
branch nick: bzr.dev
Python interpreter: /usr/bin/X11/python 2.5.2
Python standard library: /usr/lib/python2.5
bzrlib: /home/kfogel/
Bazaar configuration: /home/kfogel/
Bazaar log file: /home/kfogel/
Copyright 2005, 2006, 2007, 2008 Canonical Ltd. bazaar- vcs.org/
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
$ bzr info
Standalone tree (format: pack-0.92)
Location:
branch root: .
Related branches: bazaar- vcs.org/ bzr/bzr. dev/
parent branch: http://
$ touch unversioned_file
$ echo "Trivial modification." >> README
$ echo "Trivial modification." >> TODO
$ bzr status -v -S unversioned_file README TODO
M README
M TODO
? unversioned_file
$ # Changing the input order doesn't affect the output order:
$ bzr status -v -S README TODO unversioned_file
M README
M TODO
? unversioned_file
$ bzr revert README TODO
M README
M TODO
$ bzr status -v -S unversioned_file README TODO
? unversioned_file
$