Show More
@@ -204,7 +204,7 b' class bmstore(dict):' | |||||
204 |
|
204 | |||
205 | If divergent bookmark are to be deleted, they will be returned as list. |
|
205 | If divergent bookmark are to be deleted, they will be returned as list. | |
206 | """ |
|
206 | """ | |
207 |
cur = self._repo |
|
207 | cur = self._repo['.'].node() | |
208 | if mark in self and not force: |
|
208 | if mark in self and not force: | |
209 | if target: |
|
209 | if target: | |
210 | if self[mark] == target and target == cur: |
|
210 | if self[mark] == target and target == cur: | |
@@ -818,7 +818,7 b' def addbookmarks(repo, tr, names, rev=No' | |||||
818 | Raises an abort error if old is not in the bookmark store. |
|
818 | Raises an abort error if old is not in the bookmark store. | |
819 | """ |
|
819 | """ | |
820 | marks = repo._bookmarks |
|
820 | marks = repo._bookmarks | |
821 |
cur = repo |
|
821 | cur = repo['.'].node() | |
822 | newact = None |
|
822 | newact = None | |
823 | changes = [] |
|
823 | changes = [] | |
824 | hiddenrev = None |
|
824 | hiddenrev = None |
General Comments 0
You need to be logged in to leave comments.
Login now