Rev 3106: Make next() work like it is supposed to. in http://bzr.arbash-meinel.com/branches/bzr/0.93-dev/graph_update

John Arbash Meinel john at arbash-meinel.com
Fri Dec 14 21:45:12 GMT 2007


At http://bzr.arbash-meinel.com/branches/bzr/0.93-dev/graph_update

------------------------------------------------------------
revno: 3106
revision-id:john at arbash-meinel.com-20071214214449-gv8fpndus076sbjy
parent: john at arbash-meinel.com-20071214213212-lenfp7aijj71i3ne
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: graph_update
timestamp: Fri 2007-12-14 15:44:49 -0600
message:
  Make next() work like it is supposed to.
modified:
  bzrlib/graph.py                graph_walker.py-20070525030359-y852guab65d4wtn0-1
-------------- next part --------------
=== modified file 'bzrlib/graph.py'
--- a/bzrlib/graph.py	2007-12-14 21:32:12 +0000
+++ b/bzrlib/graph.py	2007-12-14 21:44:49 +0000
@@ -766,7 +766,7 @@
         Ancestors are returned in the order they are seen in a breadth-first
         traversal.  No ancestor will be returned more than once.
         """
-        if self._search_revisions is None:
+        if self._search_revisions is not None:
             parent_map = self._parents_provider.get_parent_map(
                             self._search_revisions)
         else:



More information about the bazaar-commits mailing list