comparison mercurial/commands.py @ 24777:077683371b7b

revset: undocument wdir() until its command outputs get stable wdir() implementation is still incomplete and shouldn't be advertised to users. This patch will be backed out when - template values such as {rev} and {node} are settled - major commands and revsets work without crashing
author Yuya Nishihara <yuya@tcha.org>
date Sun, 12 Apr 2015 19:00:31 +0900
parents a85c4ed1132f
children 22c70c08d4af
comparison
equal deleted inserted replaced
24776:52628cd73d3e 24777:077683371b7b
264 264
265 Without the -a/--text option, annotate will avoid processing files 265 Without the -a/--text option, annotate will avoid processing files
266 it detects as binary. With -a, annotate will annotate the file 266 it detects as binary. With -a, annotate will annotate the file
267 anyway, although the results will probably be neither useful 267 anyway, although the results will probably be neither useful
268 nor desirable. 268 nor desirable.
269
270 By default, annotate files in the parent of the working directory.
271 Use -r "wdir()" to annotate the working directory files.
272 269
273 Returns 0 on success. 270 Returns 0 on success.
274 """ 271 """
275 if not pats: 272 if not pats:
276 raise util.Abort(_('at least one filename or pattern is required')) 273 raise util.Abort(_('at least one filename or pattern is required'))