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