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

Unified Diff: gclient_scm.py

Issue 12634013: Don't replace default fetch config with branch-heads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 7 years, 9 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_scm.py
===================================================================
--- gclient_scm.py (revision 189283)
+++ gclient_scm.py (working copy)
@@ -703,7 +703,8 @@
# revert').
if hasattr(options, 'with_branch_heads') and options.with_branch_heads:
config_cmd = ['config', 'remote.origin.fetch',
- '+refs/branch-heads/*:refs/remotes/branch-heads/*']
+ '+refs/branch-heads/*:refs/remotes/branch-heads/*',
+ '^\\+refs/branch-heads/\\*:.*$']
self._Run(config_cmd, options)
# Update the "branch-heads" remote-tracking branches, since we might
« 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