##// END OF EJS Templates
parents: provide equivalent revsets in help
timeless -
r27317:5091c013 default
parent child Browse files
Show More
@@ -5286,6 +5286,13 b' def parents(ui, repo, file_=None, **opts'
5286 last changed (before the working directory revision or the
5286 last changed (before the working directory revision or the
5287 argument to --rev if given) is printed.
5287 argument to --rev if given) is printed.
5288
5288
5289 This command is equivalent to::
5290
5291 hg log -r "parents()" or
5292 hg log -r "parents(REV)" or
5293 hg log -r "max(file(FILE))" or
5294 hg log -r "max(::REV and file(FILE))"
5295
5289 See :hg:`summary` and :hg:`help revsets` for related information.
5296 See :hg:`summary` and :hg:`help revsets` for related information.
5290
5297
5291 Returns 0 on success.
5298 Returns 0 on success.
General Comments 0
You need to be logged in to leave comments. Login now