Mercurial > hg
diff mercurial/discovery.py @ 18131:f0eeb9b3444a
branchmap: make update a method
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Sat, 22 Dec 2012 17:08:15 +0100 |
parents | 79db6d40bced |
children | 595bd4c5b135 |
line wrap: on
line diff
--- a/mercurial/discovery.py Mon Dec 24 02:22:04 2012 +0100 +++ b/mercurial/discovery.py Sat Dec 22 17:08:15 2012 +0100 @@ -196,7 +196,7 @@ newmap = branchmap.branchcache((branch, heads[1]) for branch, heads in headssum.iteritems() if heads[0] is not None) - branchmap.update(repo, newmap, missingctx) + newmap.update(repo, missingctx) for branch, newheads in newmap.iteritems(): headssum[branch][1][:] = newheads return headssum