extdiff: log time spent in external diff program
We can't fix the time external diff programs take to run. Log that duration
for us to remove from any stats we gather
--- a/hgext/extdiff.py Wed Feb 15 13:34:06 2017 -0800
+++ b/hgext/extdiff.py Wed Feb 15 13:34:06 2017 -0800
@@ -273,7 +273,7 @@
cmdline = re.sub(regex, quote, cmdline)
ui.debug('running %r in %s\n' % (cmdline, tmproot))
- ui.system(cmdline, cwd=tmproot)
+ ui.system(cmdline, cwd=tmproot, blockedtag='extdiff')
for copy_fn, working_fn, mtime in fns_and_mtime:
if os.lstat(copy_fn).st_mtime != mtime: