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

Unified Diff: gclient.py

Issue 1869593004: Add --break_repo_locks to gclient revert. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 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 | no next file » | 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 a31491e893eb6ea2e9a1211c04c3ae4ccfe58165..15a75301ae7e202a6980985b8a78179035e93ffb 100755
--- a/gclient.py
+++ b/gclient.py
@@ -2118,6 +2118,11 @@ def CMDrevert(parser, args):
help='don\'t run pre-DEPS hooks', default=False)
parser.add_option('--upstream', action='store_true',
help='Make repo state match upstream branch.')
+ parser.add_option('--break_repo_locks', action='store_true',
+ help='GIT ONLY - Forcibly remove repo locks (e.g. '
+ 'index.lock). This should only be used if you know for '
+ 'certain that this invocation of gclient is the only '
+ 'thing operating on the git repos (e.g. on a bot).')
(options, args) = parser.parse_args(args)
# --force is implied.
options.force = True
« 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