Mercurial > hg-stable
diff tests/test-help.t @ 26413:e0c572d4d112
help: pass around ui to doc loader (API)
This is necessary to hide DEPRECATED items conditionally.
Flagged as API change because it will break "hg help git|subversion".
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 26 Sep 2015 12:06:30 +0900 |
parents | 44cc9f63a2f1 |
children | c44b507e7c78 |
line wrap: on
line diff
--- a/tests/test-help.t Sun Sep 27 23:34:37 2015 +0900 +++ b/tests/test-help.t Sat Sep 26 12:06:30 2015 +0900 @@ -1105,7 +1105,7 @@ > def extsetup(ui): > help.helptable.append((["topic-containing-verbose"], > "This is the topic to test omit indicating.", - > lambda : testtopic)) + > lambda ui: testtopic)) > EOF $ echo '[extensions]' >> $HGRCPATH $ echo "addverboseitems = `pwd`/addverboseitems.py" >> $HGRCPATH