mercurial/revset.py
changeset 24202 2de9ee016425
parent 24201 77ef059b3317
child 24203 33c7a94d4dd0
equal deleted inserted replaced
24201:77ef059b3317 24202:2de9ee016425
   992     """``all()``
   992     """``all()``
   993     All changesets, the same as ``0:tip``.
   993     All changesets, the same as ``0:tip``.
   994     """
   994     """
   995     # i18n: "all" is a keyword
   995     # i18n: "all" is a keyword
   996     getargs(x, 0, 0, _("all takes no arguments"))
   996     getargs(x, 0, 0, _("all takes no arguments"))
   997     return subset
   997     return subset & spanset(repo)  # drop "null" if any
   998 
   998 
   999 def grep(repo, subset, x):
   999 def grep(repo, subset, x):
  1000     """``grep(regex)``
  1000     """``grep(regex)``
  1001     Like ``keyword(string)`` but accepts a regex. Use ``grep(r'...')``
  1001     Like ``keyword(string)`` but accepts a regex. Use ``grep(r'...')``
  1002     to ensure special escape characters are handled correctly. Unlike
  1002     to ensure special escape characters are handled correctly. Unlike