--- a/checker.py Tue Jun 14 13:51:47 2016 +0800
+++ b/checker.py Wed Jun 15 01:44:31 2016 +0800
if 'cmd' not in linter or 'files' not in linter:
- for fpat in linter['files']:
- args.extend(['-I', fpat])
- cmd = ['hg', 'files'] + args
+ cmd = ['hg', 'files', 'set:' + ' or '.join(linter['files'])]
files = run(cmd, silent=True, get_output=True, ignore_1=True)