Show More
@@ -958,12 +958,13 b' def bookmark(ui, repo, *names, **opts):' | |||
|
958 | 958 | |
|
959 | 959 | hg book -f @ |
|
960 | 960 | ''' |
|
961 | force = opts.get(r'force') | |
|
962 |
re |
|
|
963 |
|
|
|
964 |
|
|
|
965 |
|
|
|
966 |
active = opts.get( |
|
|
961 | opts = pycompat.byteskwargs(opts) | |
|
962 | force = opts.get('force') | |
|
963 | rev = opts.get('rev') | |
|
964 | delete = opts.get('delete') | |
|
965 | rename = opts.get('rename') | |
|
966 | inactive = opts.get('inactive') | |
|
967 | active = opts.get('active') | |
|
967 | 968 | |
|
968 | 969 | if delete and rename: |
|
969 | 970 | raise error.Abort(_("--delete and --rename are incompatible")) |
@@ -1011,7 +1012,6 b' def bookmark(ui, repo, *names, **opts):' | |||
|
1011 | 1012 | return 1 |
|
1012 | 1013 | ui.write("%s\n" % book, label=bookmarks.activebookmarklabel) |
|
1013 | 1014 | else: # show bookmarks |
|
1014 | opts = pycompat.byteskwargs(opts) | |
|
1015 | 1015 | with ui.formatter('bookmarks', opts) as fm: |
|
1016 | 1016 | bookmarks.printbookmarks(ui, repo, fm) |
|
1017 | 1017 |
General Comments 0
You need to be logged in to leave comments.
Login now