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

Unified Diff: checkout.py

Issue 10915240: Fix the patch application sorting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 3 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 | patch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: checkout.py
diff --git a/checkout.py b/checkout.py
index c6743479da4d4424c591d86f55fede84a50c0cb3..33c0c31a92e018429d7651f94c1fcd706dabbcfd 100644
--- a/checkout.py
+++ b/checkout.py
@@ -143,6 +143,7 @@ class RawCheckout(CheckoutBase):
"""Ignores svn properties."""
post_processors = post_processors or self.post_processors or []
for p in patches:
+ logging.debug('Applying %s' % p.filename)
try:
stdout = ''
filename = os.path.join(self.project_path, p.filename)
@@ -301,6 +302,7 @@ class SvnCheckout(CheckoutBase, SvnMixIn):
def apply_patch(self, patches, post_processors=None):
post_processors = post_processors or self.post_processors or []
for p in patches:
+ logging.debug('Applying %s' % p.filename)
try:
# It is important to use credentials=False otherwise credentials could
# leak in the error message. Credentials are not necessary here for the
@@ -507,6 +509,7 @@ class GitCheckoutBase(CheckoutBase):
['checkout', '-b', self.working_branch,
'%s/%s' % (self.remote, self.remote_branch), '--quiet'])
for index, p in enumerate(patches):
+ logging.debug('Applying %s' % p.filename)
try:
stdout = ''
if p.is_delete:
« no previous file with comments | « no previous file | patch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698