Show More
@@ -1338,10 +1338,12 b' def followlines(repo, subset, x):' | |||||
1338 |
|
1338 | |||
1339 | @predicate(b'nodefromfile(path)') |
|
1339 | @predicate(b'nodefromfile(path)') | |
1340 | def nodefromfile(repo, subset, x): |
|
1340 | def nodefromfile(repo, subset, x): | |
1341 | """ |
|
1341 | """Read a list of nodes from the file at `path`. | |
1342 | An alias for ``::.`` (ancestors of the working directory's first parent). |
|
1342 | ||
1343 | If file pattern is specified, the histories of files matching given |
|
1343 | This applies `id(LINE)` to each line of the file. | |
1344 | pattern in the revision given by startrev are followed, including copies. |
|
1344 | ||
|
1345 | This is useful when the amount of nodes you need to specify gets too large | |||
|
1346 | for the command line. | |||
1345 | """ |
|
1347 | """ | |
1346 | path = getstring(x, _(b"nodefromfile require a file path")) |
|
1348 | path = getstring(x, _(b"nodefromfile require a file path")) | |
1347 | listed_rev = set() |
|
1349 | listed_rev = set() |
General Comments 0
You need to be logged in to leave comments.
Login now