martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY This is a list of revs that come from the CLI (opts['rev']). Perhaps we should allow any revset, but I'll leave that for someone else to improve if they care. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3089 AFFECTED FILES hgext/convert/hg.py CHANGE DETAILS diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -481,7 +481,7 @@ else: self.keep = util.always if revs: - self._heads = [self.repo[r].node() for r in revs] + self._heads = [self.repo.lookup(r) for r in revs] else: self._heads = self.repo.heads() else: To: martinvonz, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel