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

Unified Diff: gclient.py

Issue 9348054: If --force is specified when updating, remove unversioned directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 8 years, 10 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') | gclient_scm.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
===================================================================
--- gclient.py (revision 121429)
+++ gclient.py (working copy)
@@ -1300,10 +1300,14 @@
help='skips any safesync_urls specified in '
'configured solutions and sync to head instead')
parser.add_option('-D', '--delete_unversioned_trees', action='store_true',
- help='delete any dependency that have been removed from '
- 'last sync as long as there is no local modification. '
- 'Coupled with --force, it will remove them even with '
- 'local modifications')
+ help='Deletes from the working copy any dependencies that '
+ 'have been removed since the last sync, as long as '
+ 'there are no local modifications. When used with '
+ '--force, such dependencies are removed even if they '
+ 'have local modifications. In addition, when used '
+ 'with --force, all untracked directories are removed '
+ 'from the working copy, exclusing those which are '
+ 'explicitly ignored in the repository.')
parser.add_option('-R', '--reset', action='store_true',
help='resets any local changes before updating (git only)')
parser.add_option('-M', '--merge', action='store_true',
« no previous file with comments | « no previous file | gclient_scm.py » ('j') | gclient_scm.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698