Submitter | Siddharth Agarwal |
---|---|
Date | Aug. 21, 2014, 11:25 p.m. |
Message ID | <d5c551bf9d58912c8c08.1408663521@devbig136.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/5551/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -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):