Show More
@@ -541,9 +541,11 b' def bmrevset(repo, subset, x):' | |||
|
541 | 541 | """``bookmark([name])`` |
|
542 | 542 | The named bookmark or all bookmarks. |
|
543 | 543 | """ |
|
544 | # i18n: "bookmark" is a keyword | |
|
544 | 545 | args = revset.getargs(x, 0, 1, _('bookmark takes one or no arguments')) |
|
545 | 546 | if args: |
|
546 | 547 | bm = revset.getstring(args[0], |
|
548 | # i18n: "bookmark" is a keyword | |
|
547 | 549 | _('the argument to bookmark must be a string')) |
|
548 | 550 | bmrev = listbookmarks(repo).get(bm, None) |
|
549 | 551 | if bmrev: |
General Comments 0
You need to be logged in to leave comments.
Login now