diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -510,7 +510,7 @@ class Project(object): | |||
510 | with exponential backoff and jitter. | 510 | with exponential backoff and jitter. |
511 | old_revision: saved git commit id for open GITC projects. | 511 | old_revision: saved git commit id for open GITC projects. |
512 | """ | 512 | """ |
513 | self.manifest = manifest | 513 | self.client = self.manifest = manifest |
514 | self.name = name | 514 | self.name = name |
515 | self.remote = remote | 515 | self.remote = remote |
516 | self.gitdir = gitdir.replace('\\', '/') | 516 | self.gitdir = gitdir.replace('\\', '/') |
@@ -551,7 +551,7 @@ class Project(object): | |||
551 | self.linkfiles = [] | 551 | self.linkfiles = [] |
552 | self.annotations = [] | 552 | self.annotations = [] |
553 | self.config = GitConfig.ForRepository(gitdir=self.gitdir, | 553 | self.config = GitConfig.ForRepository(gitdir=self.gitdir, |
554 | defaults=self.manifest.globalConfig) | 554 | defaults=self.client.globalConfig) |
555 | 555 | ||
556 | if self.worktree: | 556 | if self.worktree: |
557 | self.work_git = self._GitGetByExec(self, bare=False, gitdir=gitdir) | 557 | self.work_git = self._GitGetByExec(self, bare=False, gitdir=gitdir) |
@@ -1168,7 +1168,7 @@ class Project(object): | |||
1168 | self._InitHooks() | 1168 | self._InitHooks() |
1169 | 1169 | ||
1170 | def _CopyAndLinkFiles(self): | 1170 | def _CopyAndLinkFiles(self): |
1171 | if self.manifest.isGitcClient: | 1171 | if self.client.isGitcClient: |
1172 | return | 1172 | return |
1173 | for copyfile in self.copyfiles: | 1173 | for copyfile in self.copyfiles: |
1174 | copyfile._Copy() | 1174 | copyfile._Copy() |