Show More
@@ -270,6 +270,10 b' def func(repo, subset, a, b):' | |||
|
270 | 270 | def adds(repo, subset, x): |
|
271 | 271 | """``adds(pattern)`` |
|
272 | 272 | Changesets that add a file matching pattern. |
|
273 | ||
|
274 | The pattern without explicit kind like ``glob:`` is expected to be | |
|
275 | relative to the current directory and match against a file or a | |
|
276 | directory. | |
|
273 | 277 | """ |
|
274 | 278 | # i18n: "adds" is a keyword |
|
275 | 279 | pat = getstring(x, _("adds requires a pattern")) |
@@ -526,6 +530,10 b' def contains(repo, subset, x):' | |||
|
526 | 530 | """``contains(pattern)`` |
|
527 | 531 | Revision contains a file matching pattern. See :hg:`help patterns` |
|
528 | 532 | for information about file patterns. |
|
533 | ||
|
534 | The pattern without explicit kind like ``glob:`` is expected to be | |
|
535 | relative to the current directory and match against a file exactly | |
|
536 | for efficiency. | |
|
529 | 537 | """ |
|
530 | 538 | # i18n: "contains" is a keyword |
|
531 | 539 | pat = getstring(x, _("contains requires a pattern")) |
@@ -713,6 +721,10 b' def filelog(repo, subset, x):' | |||
|
713 | 721 | For performance reasons, ``filelog()`` does not show every changeset |
|
714 | 722 | that affects the requested file(s). See :hg:`help log` for details. For |
|
715 | 723 | a slower, more accurate result, use ``file()``. |
|
724 | ||
|
725 | The pattern without explicit kind like ``glob:`` is expected to be | |
|
726 | relative to the current directory and match against a file exactly | |
|
727 | for efficiency. | |
|
716 | 728 | """ |
|
717 | 729 | |
|
718 | 730 | # i18n: "filelog" is a keyword |
@@ -868,6 +880,8 b' def hasfile(repo, subset, x):' | |||
|
868 | 880 | |
|
869 | 881 | For a faster but less accurate result, consider using ``filelog()`` |
|
870 | 882 | instead. |
|
883 | ||
|
884 | This predicate uses ``glob:`` as the default kind of pattern. | |
|
871 | 885 | """ |
|
872 | 886 | # i18n: "file" is a keyword |
|
873 | 887 | pat = getstring(x, _("file requires a pattern")) |
@@ -1003,6 +1017,10 b' def minrev(repo, subset, x):' | |||
|
1003 | 1017 | def modifies(repo, subset, x): |
|
1004 | 1018 | """``modifies(pattern)`` |
|
1005 | 1019 | Changesets modifying files matched by pattern. |
|
1020 | ||
|
1021 | The pattern without explicit kind like ``glob:`` is expected to be | |
|
1022 | relative to the current directory and match against a file or a | |
|
1023 | directory. | |
|
1006 | 1024 | """ |
|
1007 | 1025 | # i18n: "modifies" is a keyword |
|
1008 | 1026 | pat = getstring(x, _("modifies requires a pattern")) |
@@ -1216,6 +1234,10 b' def remote(repo, subset, x):' | |||
|
1216 | 1234 | def removes(repo, subset, x): |
|
1217 | 1235 | """``removes(pattern)`` |
|
1218 | 1236 | Changesets which remove files matching pattern. |
|
1237 | ||
|
1238 | The pattern without explicit kind like ``glob:`` is expected to be | |
|
1239 | relative to the current directory and match against a file or a | |
|
1240 | directory. | |
|
1219 | 1241 | """ |
|
1220 | 1242 | # i18n: "removes" is a keyword |
|
1221 | 1243 | pat = getstring(x, _("removes requires a pattern")) |
General Comments 0
You need to be logged in to leave comments.
Login now