changeset 34542 | 153e4e05e9b3 |
parent 34461 | c67db5dc131d |
child 34543 | 6fad8059a970 |
--- a/mercurial/scmutil.py Sat Sep 30 08:57:50 2017 +0100 +++ b/mercurial/scmutil.py Sun Oct 01 12:21:50 2017 +0100 @@ -1065,6 +1065,10 @@ finally: if proc: proc.communicate() + if proc.returncode != 0: + # not an error so 'cmd | grep' can be empty + repo.ui.debug("extdata command '%s' %s\n" + % (cmd, util.explainexit(proc.returncode)[0])) if src: src.close()