Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Unified Diff: gcl.py

Issue 164028: Minor change to gcl to automatically put changed files in the changelist (lik... (Closed) Base URL: svn://chrome-svn/chrome/trunk/tools/depot_tools/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
===================================================================
--- gcl.py (revision 22553)
+++ gcl.py (working copy)
@@ -990,9 +990,10 @@
separator2 = "\n\n---Paths modified but not in any changelist:\n\n"
text = (description + separator1 + '\n' +
'\n'.join([f[0] + f[1] for f in change_info.GetFiles()]) +
+ '\n'.join([f[0] + f[1] for f in affected_files]) + '\n' +
separator2 +
- '\n'.join([f[0] + f[1] for f in affected_files]) + '\n' +
- '\n'.join([f[0] + f[1] for f in unaffected_files]) + '\n')
+ '\n'.join([f[0] + f[1] for f in unaffected_files]) + '\n'
+ )
handle, filename = tempfile.mkstemp(text=True)
os.write(handle, text)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698