Fix regression introduced by the revert r186967 which reverted r186598.
Keep the --with_branch_heads for compatibility but do not use it.
TBR=mmoss@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/12698003
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@186969 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gclient.py b/gclient.py
index c19e963..2ad86d3 100644
--- a/gclient.py
+++ b/gclient.py
@@ -1476,6 +1476,10 @@
'has multiple solutions configured and will work even '
'if the src@ part is skipped. Note that specifying '
'--revision means your safesync_url gets ignored.')
+ parser.add_option('--with_branch_heads', action='store_true',
+ help='Clone git "branch_heads" refspecs in addition to '
+ 'the default refspecs. This adds about 1/2GB to a '
+ 'full checkout. (git only)')
parser.add_option('-t', '--transitive', action='store_true',
help='When a revision is specified (in the DEPS file or '
'with the command-line flag), transitively update '