diff -r 1ec2d227a521 -r ebf1462f2145 hgext/convert/hg.py --- a/hgext/convert/hg.py Thu Aug 21 10:55:24 2008 +0200 +++ b/hgext/convert/hg.py Thu Aug 21 11:35:17 2008 +0200 @@ -212,7 +212,7 @@ try: startnode = self.repo.lookup(startnode) except repo.RepoError: - raise util.Abort(_('%s is not a valid start revision') + raise util.Abort(_('%s is not a valid start revision') % startnode) startrev = self.repo.changelog.rev(startnode) children = {startnode: 1} @@ -229,7 +229,7 @@ return self.lastctx def parents(self, ctx): - return [p.node() for p in ctx.parents() + return [p.node() for p in ctx.parents() if p and self.keep(p.node())] def getheads(self):