Show More
@@ -402,12 +402,12 b' def pushbookmark(repo, key, old, new):' | |||||
402 | if existing != old and existing != new: |
|
402 | if existing != old and existing != new: | |
403 | return False |
|
403 | return False | |
404 | if new == '': |
|
404 | if new == '': | |
405 |
|
|
405 | changes = [(key, None)] | |
406 | else: |
|
406 | else: | |
407 | if new not in repo: |
|
407 | if new not in repo: | |
408 | return False |
|
408 | return False | |
409 |
|
|
409 | changes = [(key, repo[new].node())] | |
410 |
marks. |
|
410 | marks.applychanges(repo, tr, changes) | |
411 | tr.close() |
|
411 | tr.close() | |
412 | return True |
|
412 | return True | |
413 | finally: |
|
413 | finally: |
General Comments 0
You need to be logged in to leave comments.
Login now