--- a/mercurial/commands.py Tue Jun 19 08:37:43 2007 -0700
+++ b/mercurial/commands.py Wed Jun 20 17:53:11 2007 -0700
@@ -1232,8 +1232,7 @@
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:
--- a/tests/test-bheads.out Tue Jun 19 08:37:43 2007 -0700
+++ b/tests/test-bheads.out Wed Jun 20 17:53:11 2007 -0700
@@ -234,7 +234,7 @@
summary: Adding c branch
=======
-No changes on branch c (the branch of revision .) are reachable from revision 3
+no changes on branch c containing . are reachable from 3
1
-------
changeset: 7:9fb091bb9835
@@ -273,7 +273,7 @@
0
-------
-No changes on branch b (the branch of revision .) are reachable from revision 7
+no changes on branch b containing . are reachable from 7
1
=======
0 files updated, 0 files merged, 2 files removed, 0 files unresolved