# HG changeset patch # User Marcin Kuzminski # Date 2013-07-16 21:41:03 # Node ID 7c73f1868318763928c8182ef6f72cae4a053b5d # Parent 182a25646cf44620288c6bf5cae85784d2e6122a Add bookmarks property to git branch, it makes it consistent with other property named closed branches. Makes git and hg API consistent diff --git a/rhodecode/lib/vcs/backends/git/repository.py b/rhodecode/lib/vcs/backends/git/repository.py --- a/rhodecode/lib/vcs/backends/git/repository.py +++ b/rhodecode/lib/vcs/backends/git/repository.py @@ -433,6 +433,13 @@ class GitRepository(BaseRepository): 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()