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

Unified Diff: trychange.py

Issue 538009: Fix case sensitivity issues and svn move patches for --sub_rep on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 10 years, 11 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
« scm.py ('K') | « tests/scm_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trychange.py
===================================================================
--- trychange.py (revision 35832)
+++ trychange.py (working copy)
@@ -568,7 +568,8 @@
path_diff = gclient_utils.PathDifference(root, checkout.checkout_root)
for i in range(len(diff)):
if diff[i].startswith('--- ') or diff[i].startswith('+++ '):
- diff[i] = diff[i][0:4] + posixpath.join(path_diff, diff[i][4:])
+ new_file = posixpath.join(path_diff, diff[i][4:]).replace('\\', '/')
+ diff[i] = diff[i][0:4] + new_file
diffs.extend(diff)
options.diff = ''.join(diffs)
« scm.py ('K') | « tests/scm_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698