mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-02-24 02:06:12 +00:00
project: fix diff printing with embedded %
The recent commit 84230009ee4282b947482f0d4fc4fe9e9ebc9e01 ("project: make diff tools synchronous") broke repo diff if it includes % formats. Add an explicit format string to fix. Bug: https://crbug.com/gerrit/14208 Change-Id: Ie255a43c5b767488616b2b3dd15abc18f93bfab2 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/299402 Reviewed-by: Michael Mortensen <mmortensen@google.com> Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
5a4c8fde17
commit
9888accb0c
@ -863,7 +863,7 @@ class Project(object):
|
||||
out.nl()
|
||||
out.project('project %s/' % self.relpath)
|
||||
out.nl()
|
||||
out.write(p.stdout)
|
||||
out.write('%s', p.stdout)
|
||||
return p.Wait() == 0
|
||||
|
||||
# Publish / Upload ##
|
||||
|
Loading…
x
Reference in New Issue
Block a user