mercurial/commands.py
branchstable
changeset 17386 45b5eb2941d0
parent 17370 3fe199579323
child 17388 54feb8d3bab7
child 17392 bdd248666dbc
--- a/mercurial/commands.py	Tue Aug 21 20:51:16 2012 +0200
+++ b/mercurial/commands.py	Wed Aug 22 11:18:35 2012 -0400
@@ -4269,7 +4269,7 @@
                              hint=_("run 'hg heads .' to see heads"))
 
         parent = repo.dirstate.p1()
-        if len(nbhs) == 1:
+        if len(nbhs) <= 1:
             if len(bheads) > 1:
                 raise util.Abort(_("heads are bookmarked - "
                                    "please merge with an explicit rev"),