Rev 1723: Fix another bug handling rhs revisions in fetch. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Sat Aug 30 22:26:11 BST 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1723
revision-id: jelmer at samba.org-20080830212608-c7x2gdooliklui0g
parent: jelmer at samba.org-20080830212022-pcf5jue8wctt6257
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-08-30 23:26:08 +0200
message:
  Fix another bug handling rhs revisions in fetch.
modified:
  fetch.py                       fetch.py-20060625004942-x2lfaib8ra707a8p-1
=== modified file 'fetch.py'
--- a/fetch.py	2008-08-30 21:20:22 +0000
+++ b/fetch.py	2008-08-30 21:26:08 +0000
@@ -655,7 +655,7 @@
             checked = set()
         if revision_id in checked:
             return []
-        extra = []
+        extra = list()
         def check_revid(revision_id):
             revs = []
             meta_map = {}
@@ -678,7 +678,7 @@
                 if revid in checked:
                     # This revision (and its ancestry) has already been checked
                     break
-                extra.append(parent_ids[1:])
+                extra.extend(parent_ids[1:])
                 if not self.target.has_revision(revid):
                     revs.append(revid)
                 elif not find_ghosts:




More information about the bazaar-commits mailing list