diff options
author | Shawn O. Pearce <sop@google.com> | 2010-12-07 10:31:19 -0800 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2010-12-07 11:13:29 -0800 |
commit | 13f3da50d40b89ee5b05f5f3de9542c20edac6d1 (patch) | |
tree | d085b6f6b498bde85a1969fce884dd24e88d03d5 /subcmds/grep.py | |
parent | 3218c13205694434edb2375ab8a8515554eed366 (diff) | |
parent | 2b8db3ce3e7344b9f3b5216637c5af0d54be5656 (diff) | |
download | git-repo-13f3da50d40b89ee5b05f5f3de9542c20edac6d1.tar.gz |
Merge branch 'stable'
* stable: (33 commits)
Added feature to print a <notice> from manifest at the end of a sync.
sync: Use --force-broken to continue other projects
upload: Remove --replace option
sync --quiet: be more quiet
sync: Enable use of git clone --reference
Only delete corrupt pickle config files if they exist
Don't allow git fetch to start ControlMaster
Check for existing SSH ControlMaster
Fix for handling values of EDITOR which contain a space.
upload: Fix --replace flag
rebase: Pass through more options
upload: Allow review.HOST.username to override email
upload -t: Automatically include local branch name
Warn users before uploading if there are local changes
sync: Try fetching a tag as a last resort before giving up
rebase: Automatically rebase branch on upstrea
upload: Automatically --cc folks in review.URL.autocopy
Fix format string bugs in grep
Do not invoke ssh with -p argument when no port has been specified.
Allow files to be copied into new folders
...
Conflicts:
git_config.py
manifest_xml.py
subcmds/init.py
subcmds/sync.py
subcmds/upload.py
Change-Id: I4756a6908277e91505c35287a122a775b68f4df5
Diffstat (limited to 'subcmds/grep.py')
-rw-r--r-- | subcmds/grep.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subcmds/grep.py b/subcmds/grep.py index 4f714271..1cb5650b 100644 --- a/subcmds/grep.py +++ b/subcmds/grep.py | |||
@@ -204,7 +204,7 @@ contain a line that matches both expressions: | |||
204 | else: | 204 | else: |
205 | out.project('--- project %s ---' % project.relpath) | 205 | out.project('--- project %s ---' % project.relpath) |
206 | out.nl() | 206 | out.nl() |
207 | out.write(p.stderr) | 207 | out.write("%s", p.stderr) |
208 | out.nl() | 208 | out.nl() |
209 | continue | 209 | continue |
210 | have_match = True | 210 | have_match = True |
@@ -217,17 +217,17 @@ contain a line that matches both expressions: | |||
217 | if have_rev and full_name: | 217 | if have_rev and full_name: |
218 | for line in r: | 218 | for line in r: |
219 | rev, line = line.split(':', 1) | 219 | rev, line = line.split(':', 1) |
220 | out.write(rev) | 220 | out.write("%s", rev) |
221 | out.write(':') | 221 | out.write(':') |
222 | out.project(project.relpath) | 222 | out.project(project.relpath) |
223 | out.write('/') | 223 | out.write('/') |
224 | out.write(line) | 224 | out.write("%s", line) |
225 | out.nl() | 225 | out.nl() |
226 | elif full_name: | 226 | elif full_name: |
227 | for line in r: | 227 | for line in r: |
228 | out.project(project.relpath) | 228 | out.project(project.relpath) |
229 | out.write('/') | 229 | out.write('/') |
230 | out.write(line) | 230 | out.write("%s", line) |
231 | out.nl() | 231 | out.nl() |
232 | else: | 232 | else: |
233 | for line in r: | 233 | for line in r: |