[MERGE] Let revno and revision-info tell me about the tree as well as the branch

Matthew D. Fuller fullermd at over-yonder.net
Fri Jun 5 10:04:45 BST 2009


> This is slightly cleaner, [...]

Note that if combined with the revision-info fixes I just posted, this
will need to be patched to pass tests, something like (untested):



=== modified file 'bzrlib/tests/blackbox/test_revision_info.py'
--- bzrlib/tests/blackbox/test_revision_info.py	2009-06-05 02:39:18 +0000
+++ bzrlib/tests/blackbox/test_revision_info.py	2009-06-05 08:56:33 +0000
@@ -98,5 +98,5 @@
 
         # Make sure the checkout gives the right answer for branch and
         # tree
-        self.check_output('   2 a at r-0-2\n', 'revision-info -d checkout')
-        self.check_output('   1 a at r-0-1\n', 'revision-info --tree -d checkout')
+        self.check_output('2 a at r-0-2\n', 'revision-info -d checkout')
+        self.check_output('1 a at r-0-1\n', 'revision-info --tree -d checkout')





-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list