hgext/convert/hg.py
changeset 16867 1093ad1e8903
parent 16689 f366d4c2ff34
child 17922 7f5dab94e48c
--- a/hgext/convert/hg.py	Fri Jun 01 12:37:18 2012 -0700
+++ b/hgext/convert/hg.py	Fri Jun 01 12:45:16 2012 -0700
@@ -259,7 +259,7 @@
                                  % startnode)
             startrev = self.repo.changelog.rev(startnode)
             children = {startnode: 1}
-            for rev in self.repo.changelog.descendants(startrev):
+            for rev in self.repo.changelog.descendants([startrev]):
                 children[self.repo.changelog.node(rev)] = 1
             self.keep = children.__contains__
         else: