Show More
@@ -180,6 +180,14 b' class localrepository(repo.repository):' | |||
|
180 | 180 | def _writebookmarks(self, marks): |
|
181 | 181 | bookmarks.write(self) |
|
182 | 182 | |
|
183 | def bookmarkheads(self, bookmark): | |
|
184 | name = bookmark.split('@', 1)[0] | |
|
185 | heads = [] | |
|
186 | for mark, n in self._bookmarks.iteritems(): | |
|
187 | if mark.split('@', 1)[0] == name: | |
|
188 | heads.append(n) | |
|
189 | return heads | |
|
190 | ||
|
183 | 191 | @storecache('phaseroots') |
|
184 | 192 | def _phasecache(self): |
|
185 | 193 | return phases.phasecache(self, self._phasedefaults) |
General Comments 0
You need to be logged in to leave comments.
Login now