changeset 4649 | 52259d5fb76d |
parent 4648 | 8e503fa54d2d |
child 4650 | 15e22b483adc |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1232,8 +1232,7 @@ def heads(ui, repo, *branchrevs, **opts) heads = repo.heads(start) else: heads = [] - visitedset = set() - displayer = cmdutil.show_changeset(ui, repo, opts) + visitedset = util.set() for branchrev in branchrevs: branch = repo.changectx(branchrev).branch() if branch in visitedset: