diff options
author | Jonathan Nieder <jrn@google.com> | 2019-05-16 23:05:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-16 23:05:53 +0000 |
commit | 0968570df26f05d26ab566d9effbc8efad06ce80 (patch) | |
tree | b626407b44e5af880287f039771f5f869afaa4d0 /project.py | |
parent | f25a370a14efc6f849d79bbee927c9b20a0dc41c (diff) | |
parent | b554838ce83d1af6b2f27ae07d5f5732d03c8fdf (diff) | |
download | git-repo-0968570df26f05d26ab566d9effbc8efad06ce80.tar.gz |
Merge "Print project name when work tree initialization fails"
Diffstat (limited to 'project.py')
-rwxr-xr-x | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2590,7 +2590,7 @@ class Project(object): | |||
2590 | cmd.append('-v') | 2590 | cmd.append('-v') |
2591 | cmd.append(HEAD) | 2591 | cmd.append(HEAD) |
2592 | if GitCommand(self, cmd).Wait() != 0: | 2592 | if GitCommand(self, cmd).Wait() != 0: |
2593 | raise GitError("cannot initialize work tree") | 2593 | raise GitError("cannot initialize work tree for " + self.name) |
2594 | 2594 | ||
2595 | if submodules: | 2595 | if submodules: |
2596 | self._SyncSubmodules(quiet=True) | 2596 | self._SyncSubmodules(quiet=True) |