mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Print project name when work tree initialization fails"
This commit is contained in:
commit
0968570df2
@ -2590,7 +2590,7 @@ class Project(object):
|
||||
cmd.append('-v')
|
||||
cmd.append(HEAD)
|
||||
if GitCommand(self, cmd).Wait() != 0:
|
||||
raise GitError("cannot initialize work tree")
|
||||
raise GitError("cannot initialize work tree for " + self.name)
|
||||
|
||||
if submodules:
|
||||
self._SyncSubmodules(quiet=True)
|
||||
|
Loading…
Reference in New Issue
Block a user