diff options
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/start.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/subcmds/start.py b/subcmds/start.py index 2d723fc2..60ad41e0 100644 --- a/subcmds/start.py +++ b/subcmds/start.py | |||
@@ -59,9 +59,13 @@ revision specified in the manifest. | |||
59 | for project in all_projects: | 59 | for project in all_projects: |
60 | pm.update() | 60 | pm.update() |
61 | # If the current revision is a specific SHA1 then we can't push back | 61 | # If the current revision is a specific SHA1 then we can't push back |
62 | # to it so substitute the manifest default revision instead. | 62 | # to it; so substitute with dest_branch if defined, or with manifest |
63 | # default revision instead. | ||
63 | if IsId(project.revisionExpr): | 64 | if IsId(project.revisionExpr): |
64 | project.revisionExpr = self.manifest.default.revisionExpr | 65 | if project.dest_branch: |
66 | project.revisionExpr = project.dest_branch | ||
67 | else: | ||
68 | project.revisionExpr = self.manifest.default.revisionExpr | ||
65 | if not project.StartBranch(nb): | 69 | if not project.StartBranch(nb): |
66 | err.append(project) | 70 | err.append(project) |
67 | pm.end() | 71 | pm.end() |