Rev 4737: (parthm) Show version when running bzr without arguments in file:///home/pqm/archives/thelove/bzr/2.0/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Mar 1 11:15:23 GMT 2010


At file:///home/pqm/archives/thelove/bzr/2.0/

------------------------------------------------------------
revno: 4737 [merge]
revision-id: pqm at pqm.ubuntu.com-20100301111518-5z90yv8zjgjcmbam
parent: pqm at pqm.ubuntu.com-20100226080046-0y4iuyq2skuzq19m
parent: parth.malwankar at gmail.com-20100217161430-33xza3vaqpm0wqz9
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: 2.0
timestamp: Mon 2010-03-01 11:15:18 +0000
message:
  (parthm) Show version when running bzr without arguments
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/help_topics/__init__.py help_topics.py-20060920210027-rnim90q9e0bwxvy4-1
=== modified file 'NEWS'
--- a/NEWS	2010-02-25 07:34:06 +0000
+++ b/NEWS	2010-03-01 11:15:18 +0000
@@ -33,6 +33,10 @@
   ``UnboundLocalError``.
   (Andrew Bennetts, #423563)
 
+* Running ``bzr`` command without any arguments now shows bzr
+  version number along with rest of the help text.
+  (Parth Malwankar, #369501)
+
 Documentation
 *************
 

=== modified file 'bzrlib/help_topics/__init__.py'
--- a/bzrlib/help_topics/__init__.py	2010-02-11 07:18:20 +0000
+++ b/bzrlib/help_topics/__init__.py	2010-02-17 15:32:19 +0000
@@ -262,7 +262,7 @@
 
 
 _basic_help = \
-"""Bazaar -- a free distributed version-control tool
+"""Bazaar %s -- a free distributed version-control tool
 http://bazaar-vcs.org/
 
 Basic commands:
@@ -286,7 +286,7 @@
   bzr help init      more help on e.g. init command
   bzr help commands  list all commands
   bzr help topics    list all help topics
-"""
+""" % bzrlib.__version__
 
 
 _global_options = \




More information about the bazaar-commits mailing list