Rev 3431: Fix cmd_missing for --this or --other in http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/missing

John Arbash Meinel john at arbash-meinel.com
Mon May 19 22:43:05 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/missing

------------------------------------------------------------
revno: 3431
revision-id: john at arbash-meinel.com-20080519214254-aolweqts5hzrn879
parent: john at arbash-meinel.com-20080519213939-7d47qehv3kez1gfx
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: missing
timestamp: Mon 2008-05-19 16:42:54 -0500
message:
  Fix cmd_missing for --this or --other
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2008-05-19 21:39:39 +0000
+++ b/bzrlib/builtins.py	2008-05-19 21:42:54 +0000
@@ -3348,8 +3348,10 @@
                                 show_ids=show_ids,
                                 show_timezone='original')
                 if reverse is False:
-                    local_extra.reverse()
-                    remote_extra.reverse()
+                    if local_extra is not None:
+                        local_extra.reverse()
+                    if remote_extra is not None:
+                        remote_extra.reverse()
                 if local_extra and not theirs_only:
                     self.outf.write("You have %d extra revision(s):\n" %
                                     len(local_extra))



More information about the bazaar-commits mailing list