Rev 5047: (mbp, for parthm) show version number in top-level help in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Feb 18 03:33:38 GMT 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5047 [merge]
revision-id: pqm at pqm.ubuntu.com-20100218033337-ugvgcd1fxq2i9b9h
parent: pqm at pqm.ubuntu.com-20100218030228-dtbmt8pdtf21ndo7
parent: mbp at sourcefrog.net-20100218022338-p5aqwzlvio4c5007
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2010-02-18 03:33:37 +0000
message:
  (mbp, for parthm) show version number in top-level help
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/help_topics/__init__.py help_topics.py-20060920210027-rnim90q9e0bwxvy4-1
=== modified file 'NEWS'
--- a/NEWS	2010-02-18 03:02:28 +0000
+++ b/NEWS	2010-02-18 03:33:37 +0000
@@ -474,6 +474,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-17 05:12:01 +0000
+++ b/bzrlib/help_topics/__init__.py	2010-02-18 02:23:38 +0000
@@ -278,7 +278,7 @@
 
 
 _basic_help = \
-"""Bazaar -- a free distributed version-control tool
+"""Bazaar %s -- a free distributed version-control tool
 http://www.bazaar.canonical.com/
 
 Basic commands:
@@ -302,7 +302,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