diff --git a/git_config.py b/git_config.py index cdfeddd0..9b3dd25a 100644 --- a/git_config.py +++ b/git_config.py @@ -699,7 +699,8 @@ class Remote(object): if not rev.startswith(R_HEADS): return rev - raise GitError('remote %s does not have %s' % (self.name, rev)) + raise GitError('%s: remote %s does not have %s' % + (self.projectname, self.name, rev)) def WritesTo(self, ref): """True if the remote stores to the tracking ref.