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

Unified Diff: tools/refactoring/p4commands.py

Issue 1581573003: Remove tools/refactoring. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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
« no previous file with comments | « tools/refactoring/integratefiles.py ('k') | tools/refactoring/removetrace.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/refactoring/p4commands.py
diff --git a/tools/refactoring/p4commands.py b/tools/refactoring/p4commands.py
deleted file mode 100644
index 71ac31b0d0b7746b3538f1384ec62891ae02d8a9..0000000000000000000000000000000000000000
--- a/tools/refactoring/p4commands.py
+++ /dev/null
@@ -1,31 +0,0 @@
-import os
-import filemanagement
-
-# checks out entire p4 repository
-def checkoutallfiles():
- os.system('p4 edit //depotGoogle/...')
- return
-
-# reverts all unchanged files, this is completely innoculus
-def revertunchangedfiles():
- os.system('p4 revert -a //depotGoogle/...')
- return
-
-def integratefile( old_name, new_name):
- if(old_name == new_name):
- return
- if(not filemanagement.fileexist(old_name)):
- return
- integrate_command = 'p4 integrate -o -f ' +\
- old_name +\
- ' ' +\
- new_name +\
- ' > p4summary.txt 2> error.txt'
- os.system(integrate_command)
- #print integrate_command
- delete_command = 'p4 delete -c default ' +\
- old_name +\
- ' > p4summary.txt 2> error.txt'
- os.system(delete_command)
- #print delete_command
- return
« no previous file with comments | « tools/refactoring/integratefiles.py ('k') | tools/refactoring/removetrace.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698