##// END OF EJS Templates
bookmarks: factor out repository lookup from writing bookmarks file...
Ryan McElroy -
r23469:65e48b8d default
parent child Browse files
Show More
@@ -79,6 +79,10 class bmstore(dict):
79 can be copied back on rollback.
79 can be copied back on rollback.
80 '''
80 '''
81 repo = self._repo
81 repo = self._repo
82 self._writerepo(repo)
83
84 def _writerepo(self, repo):
85 """Factored out for extensibility"""
82 if repo._bookmarkcurrent not in self:
86 if repo._bookmarkcurrent not in self:
83 unsetcurrent(repo)
87 unsetcurrent(repo)
84
88
General Comments 0
You need to be logged in to leave comments. Login now