Mercurial > hg
view mercurial/templates/gitweb/changelogentry.tmpl @ 45253:9b5723784aac stable
dispatch: adjust ui.flush() timing to stabilize test-blackbox.t
Without this change, dispatch.dispatch() could return before flushing all
stdio data. This means chg stdio would print data after receiving the result
code.
--- tests/test-blackbox.t
+++ tests/test-blackbox.t.err
@@ -354,13 +354,13 @@
> EOF
$ hg log --debug
removing $TESTTMP/gone/.hg
- warning: cannot write to blackbox.log: $ENOENT$ (no-windows !)
warning: cannot write to blackbox.log: $TESTTMP/gone/.hg/blackbox.log: $ENOTDIR$ (windows !)
$ cd ..
blackbox should disable itself if track is empty
$ hg --config blackbox.track= init nothing_tracked
+ warning: cannot write to blackbox.log: $ENOENT$
$ cd nothing_tracked
$ cat >> .hg/hgrc << EOF
> [blackbox]
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 25 Jul 2020 22:51:26 +0900 |
parents | e9a8a941950a |
children |
line wrap: on
line source
<div> <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> <span class="age">{date|rfc822date}</span> {desc|strip|firstline|escape|nonempty} {alltags} </a> </div> <div class="title_text"> <div class="log_link"> <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> </div> <i>{author|obfuscate} [{date|rfc822date}] rev {rev}</i><br/> </div> <div class="log_body description">{desc|strip|escape|websub|nonempty} </div>