changeset 24820:6a6b69d9e539 stable

debuglock: access the lock file using the proper vfs Before this fix, 'wlock' was always reported as "free" because '.hg/store/wlock' have never been a thing.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 20 Apr 2015 16:05:32 +0200
parents 22c70c08d4af
children 57f1dbc99631
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Apr 19 21:43:53 2015 -0700
+++ b/mercurial/commands.py	Mon Apr 20 16:05:32 2015 +0200
@@ -2484,7 +2484,7 @@
             l.release()
         else:
             try:
-                stat = repo.svfs.lstat(name)
+                stat = vfs.lstat(name)
                 age = now - stat.st_mtime
                 user = util.username(stat.st_uid)
                 locker = vfs.readlock(name)