Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 15986:ba959f6e10f8 stable
discovery: fix regression when checking heads for pre 1.4 client (issue3218)
This code is not run by the test suite and silly name error were lurking here.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 24 Jan 2012 19:49:30 +0100 |
parents | 5653f2d166ea |
children | b5f6a63b4ded |
comparison
equal
deleted
inserted
replaced
15985:740b1b4c7958 | 15986:ba959f6e10f8 |
---|---|
1633 ret = 1 | 1633 ret = 1 |
1634 else: | 1634 else: |
1635 # something to push | 1635 # something to push |
1636 if not force: | 1636 if not force: |
1637 discovery.checkheads(self, remote, outgoing, | 1637 discovery.checkheads(self, remote, outgoing, |
1638 remoteheads, newbranch) | 1638 remoteheads, newbranch, |
1639 bool(inc)) | |
1639 | 1640 |
1640 # create a changegroup from local | 1641 # create a changegroup from local |
1641 if revs is None and not outgoing.excluded: | 1642 if revs is None and not outgoing.excluded: |
1642 # push everything, | 1643 # push everything, |
1643 # use the fast path, no race possible on push | 1644 # use the fast path, no race possible on push |