Rev 2608: Restore display of copyright in bzr version, accidentally removed in http://sourcefrog.net/bzr/test-cleanup

Martin Pool mbp at sourcefrog.net
Fri Jul 13 02:37:20 BST 2007


At http://sourcefrog.net/bzr/test-cleanup

------------------------------------------------------------
revno: 2608
revision-id: mbp at sourcefrog.net-20070713013719-x6j1ha53ymowniri
parent: mbp at sourcefrog.net-20070712101250-yvle0aj6ro1ww707
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: test-cleanup
timestamp: Fri 2007-07-13 11:37:19 +1000
message:
  Restore display of copyright in bzr version, accidentally removed
modified:
  bzrlib/version.py              version.py-20060816024207-ves6ult9a11taj9t-1
=== modified file 'bzrlib/version.py'
--- a/bzrlib/version.py	2007-07-12 10:12:50 +0000
+++ b/bzrlib/version.py	2007-07-13 01:37:19 +0000
@@ -30,7 +30,7 @@
 from bzrlib.branch import Branch
 
 
-def show_version(show_config=True, show_copyright=False):
+def show_version(show_config=True, show_copyright=True):
     print "Bazaar (bzr) %s" % bzrlib.__version__
     # is bzrlib itself in a branch?
     src_tree = _get_bzr_source_tree()
@@ -51,16 +51,17 @@
     else:
         print bzrlib.__path__[0]
     if show_config:
-        print
         print "  Bazaar configuration:", config.config_dir()
         print "  Bazaar log file:", trace._bzr_log_filename
     if show_copyright:
+        print
         print bzrlib.__copyright__
         print "http://bazaar-vcs.org/"
         print
         print "bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and"
         print "you may use, modify and redistribute it under the terms of the GNU"
         print "General Public License version 2 or later."
+    print
 
 
 def _get_bzr_source_tree():




More information about the bazaar-commits mailing list