Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 17299:e51d4aedace9 stable
check-code: indent 4 spaces in py files
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 31 Jul 2012 03:30:42 +0200 |
parents | 59c14bf5a48c |
children | 7d2967de2c04 |
comparison
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(): |