contrib/check-code.py
changeset 18683 a343eccd5ee2
parent 18575 667063b22a69
child 18762 a91387a37f05
equal deleted inserted replaced
18682:408f2202bd80 18683:a343eccd5ee2
   103     (uprefix + r'\s', "don't indent commands, use > for continued lines"),
   103     (uprefix + r'\s', "don't indent commands, use > for continued lines"),
   104     (r'^  saved backup bundle to \$TESTTMP.*\.hg$',
   104     (r'^  saved backup bundle to \$TESTTMP.*\.hg$',
   105      "use (glob) to match Windows paths too"),
   105      "use (glob) to match Windows paths too"),
   106   ],
   106   ],
   107   # warnings
   107   # warnings
   108   []
   108   [
       
   109     (r'^  [^*?/\n]* \(glob\)$',
       
   110      "warning: glob match with no glob character (?*/)"),
       
   111   ]
   109 ]
   112 ]
   110 
   113 
   111 for i in [0, 1]:
   114 for i in [0, 1]:
   112     for p, m in testpats[i]:
   115     for p, m in testpats[i]:
   113         if p.startswith(r'^'):
   116         if p.startswith(r'^'):