mercurial/localrepo.py
changeset 2424 092039246d73
parent 2395 8ed45fb1053a
child 2439 e8c4f3d3df8c
--- a/mercurial/localrepo.py	Sat Jun 10 11:28:40 2006 +0200
+++ b/mercurial/localrepo.py	Sat Jun 10 17:39:29 2006 +0200
@@ -1550,8 +1550,8 @@
 
         newheads = len(self.changelog.heads())
         heads = ""
-        if oldheads and newheads > oldheads:
-            heads = _(" (+%d heads)") % (newheads - oldheads)
+        if oldheads and newheads != oldheads:
+            heads = _(" (%+d heads)") % (newheads - oldheads)
 
         self.ui.status(_("added %d changesets"
                          " with %d changes to %d files%s\n")