##// END OF EJS Templates
bookmarks: switch from repo.changectx('.') to repo['.']...
Martin von Zweigbergk -
r37317:a494cccb default
parent child Browse files
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.changectx('.').node()
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.changectx('.').node()
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