mercurial/localrepo.py
changeset 26475 efd57cd6fd1d
parent 26472 406a654b41cb
child 26488 df2dc5141721
--- a/mercurial/localrepo.py	Sun Oct 04 20:04:44 2015 -0700
+++ b/mercurial/localrepo.py	Fri Sep 25 12:39:23 2015 -0700
@@ -1296,7 +1296,7 @@
 
         l = self._lock(self.vfs, "wlock", wait, unlock,
                        self.invalidatedirstate, _('working directory of %s') %
-                       self.origroot)
+                       self.origroot, parentenvvar='HG_WLOCK_LOCKER')
         self._wlockref = weakref.ref(l)
         return l