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

Unified Diff: gclient.py

Issue 7492019: GTTF: make gclient config overwrite the .gclient file if it exists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 9 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
===================================================================
--- gclient.py (revision 93666)
+++ gclient.py (working copy)
@@ -981,9 +981,6 @@
(not options.spec and not args)):
parser.error('Inconsistent arguments. Use either --spec or one or 2 args')
- if os.path.exists(options.config_filename):
- raise gclient_utils.Error('%s file already exists in the current directory'
- % options.config_filename)
client = GClient('.', options)
if options.spec:
client.SetConfig(options.spec)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698