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

Unified Diff: tests/gclient_smoketest.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_scm.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_smoketest.py
diff --git a/tests/gclient_smoketest.py b/tests/gclient_smoketest.py
index ffbe94c800c2a724b256316b2408cba91263f668..8d145eaa7ee59a05b2ba12b195b194c549dd22b1 100755
--- a/tests/gclient_smoketest.py
+++ b/tests/gclient_smoketest.py
@@ -143,16 +143,6 @@ class GClientSmokeBase(fake_repos.FakeReposTestBase):
self.assertEquals(len(results), len(items), (stdout, items, len(results)))
return results
- @staticmethod
- def svnBlockCleanup(out):
- """Work around svn status difference between svn 1.5 and svn 1.6
- I don't know why but on Windows they are reversed. So sorts the items."""
- for i in xrange(len(out)):
- if len(out[i]) < 2:
- continue
- out[i] = [out[i][0]] + sorted([x[1:].strip() for x in out[i][1:]])
- return out
-
class GClientSmoke(GClientSmokeBase):
"""Doesn't require git-daemon."""
@@ -179,7 +169,6 @@ class GClientSmoke(GClientSmokeBase):
def testNotConfigured(self):
res = ('', 'Error: client not configured; see \'gclient config\'\n', 1)
- self.check(res, self.gclient(['cleanup']))
self.check(res, self.gclient(['diff']))
self.check(res, self.gclient(['pack']))
self.check(res, self.gclient(['revert']))
@@ -265,7 +254,6 @@ class GClientSmoke(GClientSmokeBase):
self.assertTree({})
results = self.gclient(['revinfo'])
self.check(('./: None\n', '', 0), results)
- self.check(('', '', 0), self.gclient(['cleanup']))
self.check(('', '', 0), self.gclient(['diff']))
self.assertTree({})
self.check(('', '', 0), self.gclient(['pack']))
« no previous file with comments | « gclient_scm.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698