mercurial/posix.py
changeset 40792 47e3f554df35
parent 40670 bd0874977a5e
child 41289 593f6359681d
--- a/mercurial/posix.py	Fri Nov 23 06:09:44 2018 +0100
+++ b/mercurial/posix.py	Thu Nov 15 17:08:23 2018 +0100
@@ -182,7 +182,7 @@
     try:
         EXECFLAGS = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
         basedir = os.path.join(path, '.hg')
-        cachedir = os.path.join(basedir, 'cache')
+        cachedir = os.path.join(basedir, 'wcache')
         storedir = os.path.join(basedir, 'store')
         if not os.path.exists(cachedir):
             try:
@@ -255,7 +255,7 @@
     # mktemp is not racy because symlink creation will fail if the
     # file already exists
     while True:
-        cachedir = os.path.join(path, '.hg', 'cache')
+        cachedir = os.path.join(path, '.hg', 'wcache')
         checklink = os.path.join(cachedir, 'checklink')
         # try fast path, read only
         if os.path.islink(checklink):