mercurial/discovery.py
changeset 18131 f0eeb9b3444a
parent 18124 79db6d40bced
child 18282 595bd4c5b135
--- 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