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

Unified Diff: gclient.py

Issue 6883263: Remove unmaintained "gclient export" command, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 9 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 | « no previous file | gclient_scm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
===================================================================
--- gclient.py (revision 83504)
+++ gclient.py (working copy)
@@ -49,7 +49,7 @@
]
"""
-__version__ = "0.6.1"
+__version__ = "0.6.2"
import copy
import logging
@@ -990,27 +990,6 @@
return 0
-def CMDexport(parser, args):
- """Wrapper for svn export for all managed directories."""
- parser.add_option('--deps', dest='deps_os', metavar='OS_LIST',
- help='override deps for the specified (comma-separated) '
- 'platform(s); \'all\' will process all deps_os '
- 'references')
- (options, args) = parser.parse_args(args)
- if len(args) != 1:
- raise gclient_utils.Error('Need directory name')
- client = GClient.LoadCurrentConfig(options)
-
- if not client:
- raise gclient_utils.Error('client not configured; see \'gclient config\'')
-
- if options.verbose:
- # Print out the .gclient file. This is longer than if we just printed the
- # client dict, but more legible, and it might contain helpful comments.
- print(client.config_content)
- return client.RunOnDeps('export', args)
-
-
@attr('epilog', """Example:
gclient pack > patch.txt
generate simple patch for configured client and dependences
« no previous file with comments | « no previous file | gclient_scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698