mercurial/commands.py
changeset 9430 b5e9037d672b
parent 9421 c8e4dc218aaf
parent 9429 d8143769e1d4
child 9456 c564dbb2a6d5
child 9565 08914fd0fddb
--- a/mercurial/commands.py	Fri Sep 04 23:45:13 2009 +0200
+++ b/mercurial/commands.py	Sat Sep 05 19:39:46 2009 +0200
@@ -2155,7 +2155,8 @@
         roots, heads = [common.node()], [p2.node()]
         displayer = cmdutil.show_changeset(ui, repo, opts)
         for node in repo.changelog.nodesbetween(roots=roots, heads=heads)[0]:
-            displayer.show(repo[node])
+            if node not in roots:
+                displayer.show(repo[node])
         return 0
 
     return hg.merge(repo, node, force=opts.get('force'))