Show More
@@ -646,6 +646,10 b' def extra(repo, subset, x):' | |||||
646 | def filelog(repo, subset, x): |
|
646 | def filelog(repo, subset, x): | |
647 | """``filelog(pattern)`` |
|
647 | """``filelog(pattern)`` | |
648 | Changesets connected to the specified filelog. |
|
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 | pat = getstring(x, _("filelog requires a pattern")) |
|
655 | pat = getstring(x, _("filelog requires a pattern")) | |
@@ -794,6 +798,9 b' def _matchfiles(repo, subset, x):' | |||||
794 | def hasfile(repo, subset, x): |
|
798 | def hasfile(repo, subset, x): | |
795 | """``file(pattern)`` |
|
799 | """``file(pattern)`` | |
796 | Changesets affecting files matched by pattern. |
|
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 | # i18n: "file" is a keyword |
|
805 | # i18n: "file" is a keyword | |
799 | pat = getstring(x, _("file requires a pattern")) |
|
806 | pat = getstring(x, _("file requires a pattern")) |
General Comments 0
You need to be logged in to leave comments.
Login now