diff options
| author | Shawn O. Pearce <sop@google.com> | 2009-05-29 18:38:17 -0700 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2009-05-29 18:45:20 -0700 |
| commit | 3c8dea1f8d7c4257d080f9f34159cdb2fffb81e6 (patch) | |
| tree | 2a5e48ce93bc913076034f88f8878e4bfffef4dc /subcmds/forall.py | |
| parent | 8ad8a0e61d919e76f521f3124c91bd46fbaa84e2 (diff) | |
| download | git-repo-3c8dea1f8d7c4257d080f9f34159cdb2fffb81e6.tar.gz | |
Change project.revision to revisionExpr and revisionId
The revisionExpr field now holds an expression from the manifest,
such as "refs/heads/master", while revisionId holds the current
commit-ish SHA-1 of the revisionExpr. Currently that is only
filled in if the manifest points directly to a SHA-1.
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/forall.py')
| -rw-r--r-- | subcmds/forall.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py index 8d701a6c..b66313d7 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py | |||
| @@ -160,10 +160,8 @@ terminal and are not redirected. | |||
| 160 | setenv('REPO_PROJECT', project.name) | 160 | setenv('REPO_PROJECT', project.name) |
| 161 | setenv('REPO_PATH', project.relpath) | 161 | setenv('REPO_PATH', project.relpath) |
| 162 | setenv('REPO_REMOTE', project.remote.name) | 162 | setenv('REPO_REMOTE', project.remote.name) |
| 163 | setenv('REPO_LREV', project\ | 163 | setenv('REPO_LREV', project.GetRevisionId()) |
| 164 | .GetRemote(project.remote.name)\ | 164 | setenv('REPO_RREV', project.revisionExpr) |
| 165 | .ToLocal(project.revision)) | ||
| 166 | setenv('REPO_RREV', project.revision) | ||
| 167 | 165 | ||
| 168 | if mirror: | 166 | if mirror: |
| 169 | setenv('GIT_DIR', project.gitdir) | 167 | setenv('GIT_DIR', project.gitdir) |
