Show More
@@ -785,8 +785,8 b' def bookmark(ui, repo, mark=None, rev=No' | |||||
785 | if rev: |
|
785 | if rev: | |
786 | marks[mark] = repo.lookup(rev) |
|
786 | marks[mark] = repo.lookup(rev) | |
787 | else: |
|
787 | else: | |
788 |
marks[mark] = |
|
788 | marks[mark] = cur | |
789 |
if not inactive and |
|
789 | if not inactive and cur == marks[mark]: | |
790 | bookmarks.setcurrent(repo, mark) |
|
790 | bookmarks.setcurrent(repo, mark) | |
791 | bookmarks.write(repo) |
|
791 | bookmarks.write(repo) | |
792 | return |
|
792 | return |
General Comments 0
You need to be logged in to leave comments.
Login now