mercurial/hg.py
changeset 22263 ab0c42d22522
parent 21804 becb61de90a1
child 22264 4bc1fd86e915
--- a/mercurial/hg.py	Wed Aug 20 14:33:59 2014 -0400
+++ b/mercurial/hg.py	Thu Aug 21 15:58:32 2014 -0700
@@ -367,7 +367,7 @@
             # Recomputing branch cache might be slow on big repos,
             # so just copy it
             dstcachedir = os.path.join(destpath, 'cache')
-            srcbranchcache = srcrepo.sjoin('cache/branch2')
+            srcbranchcache = srcrepo.join('cache/branch2')
             dstbranchcache = os.path.join(dstcachedir, 'branch2')
             if os.path.exists(srcbranchcache):
                 if not os.path.exists(dstcachedir):