##// END OF EJS Templates
revset: polish explanation of the difference between file() and filelog()
Greg Ward -
r17265:c30307ee stable
parent child Browse files
Show More
@@ -654,9 +654,9 b' def filelog(repo, subset, x):'
654 """``filelog(pattern)``
654 """``filelog(pattern)``
655 Changesets connected to the specified filelog.
655 Changesets connected to the specified filelog.
656
656
657 If you want to get all changesets affecting matched files exactly,
657 For performance reasons, ``filelog()`` does not show every changeset
658 use ``file()`` predicate, because ``filelog()`` may omit some changesets
658 that affects the requested file(s). See :hg:`help log` for details. For
659 for performance reasons: see :hg:`help log` for detail.
659 a slower, more accurate result, use ``file()``.
660 """
660 """
661
661
662 # i18n: "filelog" is a keyword
662 # i18n: "filelog" is a keyword
@@ -811,8 +811,8 b' def hasfile(repo, subset, x):'
811 """``file(pattern)``
811 """``file(pattern)``
812 Changesets affecting files matched by pattern.
812 Changesets affecting files matched by pattern.
813
813
814 If you want to pick changesets up fast, consider to
814 For a faster but less accurate result, consider using ``filelog()``
815 use ``filelog()`` predicate, too.
815 instead.
816 """
816 """
817 # i18n: "file" is a keyword
817 # i18n: "file" is a keyword
818 pat = getstring(x, _("file requires a pattern"))
818 pat = getstring(x, _("file requires a pattern"))
General Comments 0
You need to be logged in to leave comments. Login now