From 9360966bd2ff68fd7257b50df1a7fcb5e62fe189 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Tue, 21 Apr 2009 10:50:33 -0700 Subject: [PATCH] Perform copy file activity when creating a new work directory Performance improvements in repo sync caused us to skip out of the initial Sync_LocalHalf without ever running CopyFiles, so we didn't create the top level Makefile in new clients whose manifest request one with a element. Now we run CopyFiles after the initial read-tree that populates the project working directory. Signed-off-by: Shawn O. Pearce --- project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project.py b/project.py index adb72b2..a698b31 100644 --- a/project.py +++ b/project.py @@ -1137,6 +1137,7 @@ class Project(object): cmd.append('HEAD') if GitCommand(self, cmd).Wait() != 0: raise GitError("cannot initialize work tree") + self._CopyFiles() def _gitdir_path(self, path): return os.path.join(self.gitdir, path)