Changeset - 7c73f1868318
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 12 years ago 2013-07-16 21:41:03
marcin@python-works.com
Add bookmarks property to git branch, it makes it consistent with other property
named closed branches. Makes git and hg API consistent
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/vcs/backends/git/repository.py
Show inline comments
 
@@ -430,12 +430,19 @@ class GitRepository(BaseRepository):
 
            self._parsed_refs = self._get_parsed_refs()
 
            self.tags = self._get_tags()
 
        except OSError, e:
 
            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()
 

	
 
    def _get_parsed_refs(self):
 
        # cache the property
 
        _repo = self._repo
0 comments (0 inline, 0 general)