mercurial/commands.py
changeset 5080 73fdc8bd3ed8
parent 5062 3d35c8cb5eb4
child 5083 f94dbc6c7eaf
child 5125 90be02035993
--- a/mercurial/commands.py	Thu Jul 05 19:47:04 2007 -0700
+++ b/mercurial/commands.py	Mon Aug 06 20:25:50 2007 +0200
@@ -2024,7 +2024,7 @@
     if modheads == 0:
         return
     if optupdate:
-        if modheads == 1:
+        if modheads <= 1:
             return hg.update(repo, None)
         else:
             ui.status(_("not updating, since new heads added\n"))