# HG changeset patch # User Pierre-Yves David # Date 1429538732 -7200 # Node ID 6a6b69d9e5396bafd45276f2f0661e016301399b # Parent 22c70c08d4afe4fc0d6282e3e90f829658a87aef 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. diff -r 22c70c08d4af -r 6a6b69d9e539 mercurial/commands.py --- 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)