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

Unified Diff: gclient.py

Issue 208025: Fix gclient revert for external, switched and conflicted directories. (Closed)
Patch Set: Created 11 years, 3 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
diff --git a/gclient.py b/gclient.py
index bc70ccb8129cc4822bfd6a0b79aca5def844ede6..1a440731a92575ef11442bd7719f0026bd551660 100755
--- a/gclient.py
+++ b/gclient.py
@@ -69,6 +69,7 @@ __author__ = "darinf@gmail.com (Darin Fisher)"
__version__ = "0.3.3"
import errno
+import logging
import optparse
import os
import re
@@ -1168,6 +1169,9 @@ def Main(argv):
option_parser.print_help()
return 0
+ if options.verbose:
+ logging.basicConfig(level=logging.DEBUG)
+
# Files used for configuration and state saving.
options.config_filename = os.environ.get("GCLIENT_FILE", ".gclient")
options.entries_filename = ".gclient_entries"
« 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