comparison tests/test-revset.t @ 30701:8b1d87243710

revset: document wdir() as an experimental function Let's resurrect the docstring since our help module can detect the EXPERIMENTAL tag and display it only if -v is specified. This patch updates the test added by 015c0d1087a3 since wdir() is now documented.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 05 Jan 2017 22:53:42 +0900
parents 5bda147c3139
children db38cfc7c29d
comparison
equal deleted inserted replaced
30700:323f0c4b43f4 30701:8b1d87243710
2807 hg: parse error: unknown identifier: matches 2807 hg: parse error: unknown identifier: matches
2808 (did you mean matching?) 2808 (did you mean matching?)
2809 [255] 2809 [255]
2810 2810
2811 Undocumented functions aren't suggested as similar either 2811 Undocumented functions aren't suggested as similar either
2812 $ log 'wdir2()' 2812 $ log 'tagged2()'
2813 hg: parse error: unknown identifier: wdir2 2813 hg: parse error: unknown identifier: tagged2
2814 [255] 2814 [255]
2815 2815
2816 multiple revspecs 2816 multiple revspecs
2817 2817
2818 $ hg log -r 'tip~1:tip' -r 'tip~2:tip~1' --template '{rev}\n' 2818 $ hg log -r 'tip~1:tip' -r 'tip~2:tip~1' --template '{rev}\n'