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

Unified Diff: dartium_tools/update_patched_files.py

Issue 239993009: Revert accidental dartium code push (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « dartium_tools/update_deps.py ('k') | dartium_tools/update_version.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dartium_tools/update_patched_files.py
diff --git a/dartium_tools/update_patched_files.py b/dartium_tools/update_patched_files.py
deleted file mode 100755
index 37e9543a49dd614b2b9f013ca5716bd22904900a..0000000000000000000000000000000000000000
--- a/dartium_tools/update_patched_files.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright 2012 Google Inc. All Rights Reserved.
-
-import overrides_database
-import shutil
-import subprocess
-import sys
-
-
-def svn_update(path, rev):
- subprocess.call(['svn', 'up', '-r', str(rev), path])
-
-
-def update_overridden_files(old_rev, new_rev):
- assert old_rev < new_rev
- for override in overrides_database.OVERRIDDEN_FILES:
- patched = override['modified']
- orig = override['original']
- svn_update(orig, old_rev)
- shutil.copyfile(patched, orig)
- svn_update(orig, new_rev)
- shutil.copyfile(orig, patched)
-
-
-if __name__ == '__main__':
- update_overridden_files(int(sys.argv[1]), int(sys.argv[2]))
« no previous file with comments | « dartium_tools/update_deps.py ('k') | dartium_tools/update_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698