Rev 2568: Improved phrasing in version output in http://sourcefrog.net/bzr/trivial
Martin Pool
mbp at sourcefrog.net
Mon Jul 2 06:24:08 BST 2007
At http://sourcefrog.net/bzr/trivial
------------------------------------------------------------
revno: 2568
revision-id: mbp at sourcefrog.net-20070702052407-z66ymyo539uuvp1k
parent: mbp at sourcefrog.net-20070702044841-bhqv1470tepruga0
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: trivial
timestamp: Mon 2007-07-02 15:24:07 +1000
message:
Improved phrasing in version output
modified:
bzrlib/tests/blackbox/test_version.py test_version.py-20070312060045-ol7th9z035r3im3d-1
bzrlib/version.py version.py-20060816024207-ves6ult9a11taj9t-1
=== modified file 'bzrlib/tests/blackbox/test_version.py'
--- a/bzrlib/tests/blackbox/test_version.py 2007-07-02 04:48:41 +0000
+++ b/bzrlib/tests/blackbox/test_version.py 2007-07-02 05:24:07 +0000
@@ -26,8 +26,8 @@
out = self.run_bzr("version")[0]
self.assertTrue(len(out) > 0)
self.assertEquals(1, out.count(bzrlib.__version__))
- self.assertEquals(1, out.count("Using python interpreter:"))
- self.assertEquals(1, out.count("Using python standard library:"))
+ self.assertEquals(1, out.count("Using Python interpreter:"))
+ self.assertEquals(1, out.count("Using Python standard library:"))
self.assertEquals(1, out.count("Using bzrlib:"))
- self.assertEquals(1, out.count("Using bazaar configuration:"))
- self.assertContainsRe(out, r'(?m)^Logging to:.*bzr\.log')
+ self.assertEquals(1, out.count("Using Bazaar configuration:"))
+ self.assertContainsRe(out, r'(?m)^Using Bazaar log file:.*bzr\.log')
=== modified file 'bzrlib/version.py'
--- a/bzrlib/version.py 2007-07-02 04:48:41 +0000
+++ b/bzrlib/version.py 2007-07-02 05:24:07 +0000
@@ -41,8 +41,8 @@
print " revision:", revno
print " revid:", src_revision_id
print " branch nick:", src_tree.branch.nick
- print "Using python interpreter:", sys.executable
- print "Using python standard library:", os.path.dirname(os.__file__)
+ print "Using Python interpreter:", sys.executable
+ print "Using Python standard library:", os.path.dirname(os.__file__)
print "Using bzrlib:",
if len(bzrlib.__path__) > 1:
# print repr, which is a good enough way of making it clear it's
@@ -50,8 +50,8 @@
print repr(bzrlib.__path__)
else:
print bzrlib.__path__[0]
- print "Using bazaar configuration:", config.config_dir()
- print "Logging to:", trace._bzr_log_filename
+ print "Using Bazaar configuration:", config.config_dir()
+ print "Using Bazaar log file:", trace._bzr_log_filename
print
print bzrlib.__copyright__
print "http://bazaar-vcs.org/"
More information about the bazaar-commits
mailing list