mercurial/localrepo.py
branchstable
changeset 17299 e51d4aedace9
parent 17298 59c14bf5a48c
child 17306 7d2967de2c04
equal deleted inserted replaced
17298:59c14bf5a48c 17299:e51d4aedace9
   270     @filecache('bookmarks.current')
   270     @filecache('bookmarks.current')
   271     def _bookmarkcurrent(self):
   271     def _bookmarkcurrent(self):
   272         return bookmarks.readcurrent(self)
   272         return bookmarks.readcurrent(self)
   273 
   273 
   274     def _writebookmarks(self, marks):
   274     def _writebookmarks(self, marks):
   275       bookmarks.write(self)
   275         bookmarks.write(self)
   276 
   276 
   277     def bookmarkheads(self, bookmark):
   277     def bookmarkheads(self, bookmark):
   278         name = bookmark.split('@', 1)[0]
   278         name = bookmark.split('@', 1)[0]
   279         heads = []
   279         heads = []
   280         for mark, n in self._bookmarks.iteritems():
   280         for mark, n in self._bookmarks.iteritems():