##// END OF EJS Templates
bring back cached Repo() instance due to some other issues it generated
marcink -
r3046:be781af4 beta
parent child Browse files
Show More
@@ -58,12 +58,12 b' class GitRepository(BaseRepository):'
58 self.bare = repo.bare
58 self.bare = repo.bare
59
59
60 self._config_files = [
60 self._config_files = [
61 bare and abspath(self.path, 'config') or abspath(self.path, '.git',
61 bare and abspath(self.path, 'config')
62 'config'),
62 or abspath(self.path, '.git', 'config'),
63 abspath(get_user_home(), '.gitconfig'),
63 abspath(get_user_home(), '.gitconfig'),
64 ]
64 ]
65
65
66 @property
66 @LazyProperty
67 def _repo(self):
67 def _repo(self):
68 repo = Repo(self.path)
68 repo = Repo(self.path)
69 #temporary set that to now at later we will move it to constructor
69 #temporary set that to now at later we will move it to constructor
General Comments 0
You need to be logged in to leave comments. Login now