diff mercurial/commands.py @ 4649:52259d5fb76d

Small fixes for 8e503fa54d2d (hg heads branch)
author Brendan Cully <brendan@kublai.com>
date Wed, 20 Jun 2007 17:53:11 -0700
parents 8e503fa54d2d
children 15e22b483adc
line wrap: on
line diff
--- 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: