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

Unified Diff: gclient_scm.py

Issue 2401483002: Remove gclient cleanup command (Closed)
Patch Set: rebase Created 4 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 | « gclient.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 1050e28d0f37da54a9b58c5e9f95caee45c3c5e0..b4da53651e31a3ad8cfaf1f6d04f05048fe43d20 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -143,7 +143,7 @@ class SCMWrapper(object):
print(*args, **kwargs)
def RunCommand(self, command, options, args, file_list=None):
- commands = ['cleanup', 'update', 'updatesingle', 'revert',
+ commands = ['update', 'updatesingle', 'revert',
'revinfo', 'status', 'diff', 'pack', 'runhooks']
if not command in commands:
@@ -270,13 +270,6 @@ class GitWrapper(SCMWrapper):
# time-stamp of the currently checked out revision.
return self._Capture(['log', '-n', '1', '--format=%ai'])
- @staticmethod
- def cleanup(options, args, file_list):
- """'Cleanup' the repo.
-
- There's no real git equivalent for the svn cleanup command, do a no-op.
- """
-
def diff(self, options, _args, _file_list):
try:
merge_base = [self._Capture(['merge-base', 'HEAD', self.remote])]
« no previous file with comments | « gclient.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698