##// END OF EJS Templates
revset: add explanation about difference between 'filelog()' and 'file()'
FUJIWARA Katsunori -
r17244:483aa765 stable
parent child Browse files
Show More
@@ -646,6 +646,10 b' def extra(repo, subset, x):'
646 646 def filelog(repo, subset, x):
647 647 """``filelog(pattern)``
648 648 Changesets connected to the specified filelog.
649
650 If you want to get all changesets affecting matched files exactly,
651 use ``file()`` predicate, because ``filelog()`` may omit some changesets
652 for performance reasons: see :hg:`help log` for detail.
649 653 """
650 654
651 655 pat = getstring(x, _("filelog requires a pattern"))
@@ -794,6 +798,9 b' def _matchfiles(repo, subset, x):'
794 798 def hasfile(repo, subset, x):
795 799 """``file(pattern)``
796 800 Changesets affecting files matched by pattern.
801
802 If you want to pick changesets up fast, consider to
803 use ``filelog()`` predicate, too.
797 804 """
798 805 # i18n: "file" is a keyword
799 806 pat = getstring(x, _("file requires a pattern"))
General Comments 0
You need to be logged in to leave comments. Login now