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

Unified Diff: trychange.py

Issue 11574007: Move parsing of TRYSERVER_* so options.root is not overwritten (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Created 8 years 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: trychange.py
===================================================================
--- trychange.py (revision 172880)
+++ trychange.py (working copy)
@@ -168,7 +168,8 @@
def AutomagicalSettings(self):
"""Determines settings based on supported code review and checkout tools.
"""
- # Try to find gclient or repo root first.
+ self._GclStyleSettings()
M-A Ruel 2012/12/13 23:58:06 I'm pretty sure there was a reason for it to be do
kjellander_chromium 2012/12/18 08:52:15 I think it's pretty safe to move it. All the code
+ # Try to find gclient or repo root.
if not self.options.no_search:
self.toplevel_root = gclient_utils.FindGclientRoot(self.checkout_root)
if self.toplevel_root:
@@ -185,8 +186,6 @@
self.options.root = gclient_utils.PathDifference(self.toplevel_root,
self.checkout_root)
- self._GclStyleSettings()
-
def ReadRootFile(self, filename):
cur = self.checkout_root
root = self.toplevel_root or self.checkout_root
« 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