diff options
| -rw-r--r-- | subcmds/start.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/subcmds/start.py b/subcmds/start.py index ae2985d2..00885076 100644 --- a/subcmds/start.py +++ b/subcmds/start.py | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | import sys | 16 | import sys |
| 17 | from command import Command | 17 | from command import Command |
| 18 | from git_config import IsId | ||
| 18 | from git_command import git | 19 | from git_command import git |
| 19 | from progress import Progress | 20 | from progress import Progress |
| 20 | 21 | ||
| @@ -56,6 +57,10 @@ revision specified in the manifest. | |||
| 56 | pm = Progress('Starting %s' % nb, len(all)) | 57 | pm = Progress('Starting %s' % nb, len(all)) |
| 57 | for project in all: | 58 | for project in all: |
| 58 | pm.update() | 59 | pm.update() |
| 60 | # If the current revision is a specific SHA1 then we can't push back | ||
| 61 | # to it so substitute the manifest default revision instead. | ||
| 62 | if IsId(project.revisionExpr): | ||
| 63 | project.revisionExpr = self.manifest.default.revisionExpr | ||
| 59 | if not project.StartBranch(nb): | 64 | if not project.StartBranch(nb): |
| 60 | err.append(project) | 65 | err.append(project) |
| 61 | pm.end() | 66 | pm.end() |
