commit | be0e8ac232de862d287927c4d735cf30f040cf42 | [log] [tgz] |
---|---|---|
author | Jeff Bailey <jeffbailey@google.com> | Wed Jan 21 19:05:15 2009 -0500 |
committer | Shawn O. Pearce <sop@google.com> | Mon Mar 02 19:32:28 2009 -0800 |
tree | bd967fd652ed0da2cd967a66fe5f239780d61120 | |
parent | 47c1a63a07ebd67efac00ca9e0d877633aea5881 [diff] |
Export additional environment variables to repo forall: REPO_PATH is the path relative the the root of the client. REPO_REMOTE is the name of the remote system from the manifest. REPO_LREV is the name of the revision from the manifest, but translated to something the local repository knows. REPO_RREV is the name of the revision from the manifest. This allows us to do commands like: repo forall -c 'echo "(cd $REPO_PATH && git checkout `git rev-parse HEAD`)"'