Commit 173fa7f8 authored by Denis Bilenko's avatar Denis Bilenko

testrunner: do not run diffstat which output we don't use anymore

parent dcbb0242
......@@ -147,13 +147,13 @@ class DatabaseTestRunner(TextTestRunner):
def get_changeset():
try:
diffstat = os.popen(r"hg diff 2> /dev/null | diffstat -q").read().strip()
diff = os.popen(r"hg diff 2> /dev/null").read().strip()
except Exception:
diffstat = None
diff = None
try:
changeset = os.popen(r"hg log -r tip 2> /dev/null | grep changeset").readlines()[0]
changeset = changeset.replace('changeset:', '').strip().replace(':', '_')
if diffstat:
if diff:
changeset += '+'
except Exception:
changeset = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment