Show More
@@ -100,6 +100,7 b' def bookmark(ui, repo, mark=None, rev=No' | |||
|
100 | 100 | if mark != None: |
|
101 | 101 | if "\n" in mark: |
|
102 | 102 | raise util.Abort(_("bookmark name cannot contain newlines")) |
|
103 | mark = mark.strip() | |
|
103 | 104 | if mark in marks and not force: |
|
104 | 105 | raise util.Abort(_("a bookmark of the same name already exists")) |
|
105 | 106 | if ((mark in repo.branchtags() or mark == repo.dirstate.branch()) |
General Comments 0
You need to be logged in to leave comments.
Login now