# HG changeset patch # User Pierre-Yves David # Date 2015-04-20 14:05:32 # 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 --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2484,7 +2484,7 @@ def debuglocks(ui, repo, **opts): 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)