mercurial/localrepo.py
branchstable
changeset 15986 ba959f6e10f8
parent 15956 5653f2d166ea
child 15987 b5f6a63b4ded
--- a/mercurial/localrepo.py	Wed Jan 25 14:06:04 2012 -0600
+++ b/mercurial/localrepo.py	Tue Jan 24 19:49:30 2012 +0100
@@ -1635,7 +1635,8 @@
                     # something to push
                     if not force:
                         discovery.checkheads(self, remote, outgoing,
-                                             remoteheads, newbranch)
+                                             remoteheads, newbranch,
+                                             bool(inc))
 
                     # create a changegroup from local
                     if revs is None and not outgoing.excluded: