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

Unified Diff: svn_utils.py

Issue 5968005: Move patch management functions into their own file, patch.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/commit-queue
Patch Set: rebase against trunk Created 10 years 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 | « pending_manager.py ('k') | tests/checkout_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: svn_utils.py
diff --git a/svn_utils.py b/svn_utils.py
index 4b8361ff83d0dcde8c1d57d6d13d5b38c01b392f..e588481ae56ef9fcdb57ec57589aae869f30f7a3 100644
--- a/svn_utils.py
+++ b/svn_utils.py
@@ -26,15 +26,6 @@ def capture_svn(args, **kwargs):
return subprocess2.check_capture(cmd, **kwargs)
-def apply_patch(location, patch):
- """Applies a svn patch, manually applying svn meta data."""
- # TODO: Do not shell out patch to enable svn cp/mv/ren and friends
- # TODO: Add binary support
- # TODO: Reuse some webkit svn-apply stuff?
- cmd = ['patch', '-p0', '--forward', '--force']
- subprocess2.check_call(cmd, stdin=patch, cwd=location)
-
-
def parse_svn_info(output, key):
"""Returns value for key from svn info output.
« no previous file with comments | « pending_manager.py ('k') | tests/checkout_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698