Mercurial > public > mercurial-scm > hg-stable
diff tests/test-help.t @ 26414:c44b507e7c78
help: pass around ui to rewriter hooks (API)
makeitemsdoc() will hide DEPRECATED items conditionally.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 26 Sep 2015 12:11:46 +0900 |
parents | e0c572d4d112 |
children | 46af0adb5c37 |
line wrap: on
line diff
--- a/tests/test-help.t Sat Sep 26 12:06:30 2015 +0900 +++ b/tests/test-help.t Sat Sep 26 12:11:46 2015 +0900 @@ -985,7 +985,7 @@ $ cat > helphook1.py <<EOF > from mercurial import help > - > def rewrite(topic, doc): + > def rewrite(ui, topic, doc): > return doc + '\nhelphook1\n' > > def extsetup(ui): @@ -994,7 +994,7 @@ $ cat > helphook2.py <<EOF > from mercurial import help > - > def rewrite(topic, doc): + > def rewrite(ui, topic, doc): > return doc + '\nhelphook2\n' > > def extsetup(ui):