(Arne Babenhauserheide)
2016-06-23: fix: missing diffstat fix: missing diffstat
diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -1270,11 +1270,14 @@ def ctxdiffstat(ui, repo, ctx):
command = "log -r " + ctx.hex() + " --stat --color=never"
else:
command = "log -r " + ctx.hex() + " --stat"
+ ui.debug("[staticsite] " + command + "\n")
+ ui.pushbuffer()
+ repo.ui.pushbuffer()
req = dispatch.request(command.split(), ui=ui, repo=repo)
- ui.pushbuffer()
dispatch.dispatch(req)
# FIXME: remove the color in an elegant way instead of fudging like this.
- return ui.popbuffer().replace(
+ res = ui.popbuffer() + repo.ui.popbuffer()
+ return res.replace(
"[0;33m","").replace(
"[0;32m","").replace(
"[0m", "").replace(