##// END OF EJS Templates
check-code: add check for lock release order
Matt Mackall -
r19031:341083b0 default
parent child Browse files
Show More
@@ -224,6 +224,7 b' pypats = ['
224 224 (r':\n( )*( ){1,3}[^ ]', "must indent 4 spaces"),
225 225 (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
226 226 "missing _() in ui message (use () to hide false-positives)"),
227 (r'release\(.*wlock, .*lock\)', "wrong lock release order"),
227 228 ],
228 229 # warnings
229 230 [
General Comments 0
You need to be logged in to leave comments. Login now