mercurial/hg.py
changeset 20185 7d4219512823
parent 20116 9e0219967e38
child 20354 b433b43364e4
--- a/mercurial/hg.py	Mon Nov 11 21:16:54 2013 +1100
+++ b/mercurial/hg.py	Mon Sep 16 01:08:29 2013 -0700
@@ -338,8 +338,8 @@
             # Recomputing branch cache might be slow on big repos,
             # so just copy it
             dstcachedir = os.path.join(destpath, 'cache')
-            srcbranchcache = srcrepo.sjoin('cache/branchheads')
-            dstbranchcache = os.path.join(dstcachedir, 'branchheads')
+            srcbranchcache = srcrepo.sjoin('cache/branch2')
+            dstbranchcache = os.path.join(dstcachedir, 'branch2')
             if os.path.exists(srcbranchcache):
                 if not os.path.exists(dstcachedir):
                     os.mkdir(dstcachedir)