Show More
@@ -174,6 +174,7 b' class casecollisionauditor(object):' | |||
|
174 | 174 | |
|
175 | 175 | def develwarn(tui, msg): |
|
176 | 176 | """issue a developer warning message""" |
|
177 | msg = 'devel-warn: ' + msg | |
|
177 | 178 | if tui.tracebackflag: |
|
178 | 179 | util.debugstacktrace(msg, 2) |
|
179 | 180 | else: |
@@ -50,18 +50,18 b'' | |||
|
50 | 50 | $ hg init lock-checker |
|
51 | 51 | $ cd lock-checker |
|
52 | 52 | $ hg buggylocking |
|
53 | transaction with no lock at: $TESTTMP/buggylocking.py:11 (buggylocking) | |
|
54 | "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:13 (buggylocking) | |
|
53 | devel-warn: transaction with no lock at: $TESTTMP/buggylocking.py:11 (buggylocking) | |
|
54 | devel-warn: "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:13 (buggylocking) | |
|
55 | 55 | $ cat << EOF >> $HGRCPATH |
|
56 | 56 | > [devel] |
|
57 | 57 | > all=0 |
|
58 | 58 | > check-locks=1 |
|
59 | 59 | > EOF |
|
60 | 60 | $ hg buggylocking |
|
61 | transaction with no lock at: $TESTTMP/buggylocking.py:11 (buggylocking) | |
|
62 | "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:13 (buggylocking) | |
|
61 | devel-warn: transaction with no lock at: $TESTTMP/buggylocking.py:11 (buggylocking) | |
|
62 | devel-warn: "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:13 (buggylocking) | |
|
63 | 63 | $ hg buggylocking --traceback |
|
64 | transaction with no lock at: | |
|
64 | devel-warn: transaction with no lock at: | |
|
65 | 65 | */hg:* in * (glob) |
|
66 | 66 | */mercurial/dispatch.py:* in run (glob) |
|
67 | 67 | */mercurial/dispatch.py:* in dispatch (glob) |
@@ -73,7 +73,7 b'' | |||
|
73 | 73 | */mercurial/dispatch.py:* in <lambda> (glob) |
|
74 | 74 | */mercurial/util.py:* in check (glob) |
|
75 | 75 | $TESTTMP/buggylocking.py:* in buggylocking (glob) |
|
76 | "wlock" acquired after "lock" at: | |
|
76 | devel-warn: "wlock" acquired after "lock" at: | |
|
77 | 77 | */hg:* in * (glob) |
|
78 | 78 | */mercurial/dispatch.py:* in run (glob) |
|
79 | 79 | */mercurial/dispatch.py:* in dispatch (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now