diff -r 740b1b4c7958 -r ba959f6e10f8 mercurial/localrepo.py --- 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: