Chromium Code Reviews| Index: scripts/slave/recipe_modules/gclient/api.py |
| diff --git a/scripts/slave/recipe_modules/gclient/api.py b/scripts/slave/recipe_modules/gclient/api.py |
| index e9f6621ea15ad18ea33186ab4d9cc0a369a058b5..78ae6117323af1553ff115cb252e29e4635aec47 100644 |
| --- a/scripts/slave/recipe_modules/gclient/api.py |
| +++ b/scripts/slave/recipe_modules/gclient/api.py |
| @@ -146,17 +146,10 @@ class GclientApi(recipe_api.RecipeApi): |
| steps.append(self(name, ['recurse', 'git', 'config', var, val], |
| **kwargs)) |
| - cwd = kwargs.get('cwd') |
| - for c in cfg.checkouts: |
| - path = self.m.path.slave_build(c) |
| - if cwd: |
| - path = self.m.path.join(cwd, c) |
| - self.m.path.add_checkout(path) |
| - for s in cfg.solutions: |
| - path = self.m.path.slave_build(s.name) |
| - if cwd: |
| - path = self.m.path.join(cwd, s.name) |
| - self.m.path.add_checkout(path) |
| + cwd = kwargs.get('cwd', self.m.path.slave_build) |
| + self.m.path.set_dynamic_path( |
| + 'checkout', cwd(*cfg.solutions[0].name.split(self.m.path.sep)), |
|
agable
2013/09/26 21:46:02
So we've lost the ability to save multiple paths i
iannucci
2013/09/27 02:08:20
I converted the users of this feature over. It was
|
| + default=True) |
| return steps |