mercurial/discovery.py
changeset 41580 eb7ce452e0fb
parent 37637 1964d2d1f421
child 42026 98908e36d58a
--- a/mercurial/discovery.py	Mon Jan 21 16:04:48 2019 +0000
+++ b/mercurial/discovery.py	Mon Jan 21 16:37:23 2019 +0000
@@ -238,7 +238,7 @@
 
     # D. Update newmap with outgoing changes.
     # This will possibly add new heads and remove existing ones.
-    newmap = branchmap.branchcache((branch, heads[1])
+    newmap = branchmap.remotebranchcache((branch, heads[1])
                                  for branch, heads in headssum.iteritems()
                                  if heads[0] is not None)
     newmap.update(repo, (ctx.rev() for ctx in missingctx))