Show More
@@ -1213,7 +1213,7 b' class localrepository(object):' | |||||
1213 | or self.ui.configbool('devel', 'check-locks')): |
|
1213 | or self.ui.configbool('devel', 'check-locks')): | |
1214 | l = self._lockref and self._lockref() |
|
1214 | l = self._lockref and self._lockref() | |
1215 | if l is not None and l.held: |
|
1215 | if l is not None and l.held: | |
1216 |
msg = '"lock |
|
1216 | msg = '"wlock" acquired after "lock"\n' | |
1217 | if self.ui.tracebackflag: |
|
1217 | if self.ui.tracebackflag: | |
1218 | util.debugstacktrace(msg, 1) |
|
1218 | util.debugstacktrace(msg, 1) | |
1219 | else: |
|
1219 | else: |
@@ -44,7 +44,7 b'' | |||||
44 | $ cd lock-checker |
|
44 | $ cd lock-checker | |
45 | $ hg buggylocking |
|
45 | $ hg buggylocking | |
46 | transaction with no lock |
|
46 | transaction with no lock | |
47 | "lock" taken before "wlock" |
|
47 | "wlock" acquired after "lock" | |
48 | $ cat << EOF >> $HGRCPATH |
|
48 | $ cat << EOF >> $HGRCPATH | |
49 | > [devel] |
|
49 | > [devel] | |
50 | > all=0 |
|
50 | > all=0 | |
@@ -52,7 +52,7 b'' | |||||
52 | > EOF |
|
52 | > EOF | |
53 | $ hg buggylocking |
|
53 | $ hg buggylocking | |
54 | transaction with no lock |
|
54 | transaction with no lock | |
55 | "lock" taken before "wlock" |
|
55 | "wlock" acquired after "lock" | |
56 | $ hg buggylocking --traceback |
|
56 | $ hg buggylocking --traceback | |
57 | transaction with no lock |
|
57 | transaction with no lock | |
58 | at: |
|
58 | at: | |
@@ -67,7 +67,7 b'' | |||||
67 | */mercurial/dispatch.py:* in <lambda> (glob) |
|
67 | */mercurial/dispatch.py:* in <lambda> (glob) | |
68 | */mercurial/util.py:* in check (glob) |
|
68 | */mercurial/util.py:* in check (glob) | |
69 | $TESTTMP/buggylocking.py:* in buggylocking (glob) |
|
69 | $TESTTMP/buggylocking.py:* in buggylocking (glob) | |
70 | "lock" taken before "wlock" |
|
70 | "wlock" acquired after "lock" | |
71 | at: |
|
71 | at: | |
72 | */hg:* in * (glob) |
|
72 | */hg:* in * (glob) | |
73 | */mercurial/dispatch.py:* in run (glob) |
|
73 | */mercurial/dispatch.py:* in run (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now