Comments
Patch
@@ -188,7 +188,7 @@
$ wait
y
$ ls -l .hg/store/lock
- ls: cannot access '.hg/store/lock': No such file or directory
+ ls: cannot access .hg/store/lock: No such file or directory
[2]
* Test setting the wlock
@@ -205,7 +205,7 @@
$ wait
y
$ ls -l .hg/wlock
- ls: cannot access '.hg/wlock': No such file or directory
+ ls: cannot access .hg/wlock: No such file or directory
[2]
* Test setting both locks
@@ -251,33 +251,37 @@
$ hg debuglocks -L
$ hg debuglocks
- lock: free
- wlock: free
-
- $ touch .hg/unlock
- $ wait
- y
+ timeout: .hg/unlock was not created in 1 seconds
+ unrecognized response
+ ready to release the lock (Y)? y
+ lock: free
+ wlock: free
+
+ $ touch .hg/unlock
+ $ wait
* Test forcing the wlock
$ dolock -S &
$ waitlock .hg/wlock
- ready to release the lock (Y)? (no-eol)
-
- $ hg debuglocks
- lock: free
- wlock: user *, process * (*s) (glob)
+ ready to release the lock (Y)? y
+ timeout: .hg/wlock was not created in 1 seconds
[1]
+ $ hg debuglocks
+ lock: free
+ wlock: free
+
$ hg debuglocks -W
-
- $ hg debuglocks
- lock: free
- wlock: free
-
- $ touch .hg/unlock
- $ wait
- y
+ abort: No such file or directory: '$TESTTMP/debugrevlog/.hg/wlock'
+ [255]
+
+ $ hg debuglocks
+ lock: free
+ wlock: free
+
+ $ touch .hg/unlock
+ $ wait
Test WdirUnsupported exception