Mercurial > kallithea
changeset 4088:7c73f1868318
Add bookmarks property to git branch, it makes it consistent with other property
named closed branches. Makes git and hg API consistent
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 16 Jul 2013 21:41:03 +0200 |
parents | 182a25646cf4 |
children | a5888ca796b5 |
files | rhodecode/lib/vcs/backends/git/repository.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/vcs/backends/git/repository.py Sat Jul 13 21:28:50 2013 +0200 +++ b/rhodecode/lib/vcs/backends/git/repository.py Tue Jul 16 21:41:03 2013 +0200 @@ -433,6 +433,13 @@ raise RepositoryError(e.strerror) @LazyProperty + def bookmarks(self): + """ + Get's bookmarks for this repository + """ + return {} + + @LazyProperty def _parsed_refs(self): return self._get_parsed_refs()