bzr version command -- deprecate?
Matthew Hannigan
mlh at zip.com.au
Mon Feb 13 11:45:26 GMT 2006
'bzr version' currently gives the version of the bzr
that you are using.
I would expect it to give the version of the branch
that you are working with, be it hello-world or whatever.
'bzr --version' is already there and gives the version of
bzr.
I propose that the version command is just dropped;
in the future it could be resurrected to give the
same sort of information as 'bzr revision-info'.
I _think_ the change could be as simple as:
=== modified file 'bzrlib/builtins.py'
--- bzrlib/builtins.py
+++ bzrlib/builtins.py
@@ -1520,12 +1520,6 @@
print "you may use, modify and redistribute it under the terms of the GNU"
print "General Public License version 2 or later."
-
-class cmd_version(Command):
- """Show version of bzr."""
- @display_command
- def run(self):
- show_version()
class cmd_rocks(Command):
"""Statement of optimism."""
Regards,
Matt
More information about the bazaar
mailing list