diff options
| author | LaMont Jones <lamontjones@google.com> | 2021-11-18 22:40:18 +0000 |
|---|---|---|
| committer | LaMont Jones <lamontjones@google.com> | 2022-02-17 21:57:55 +0000 |
| commit | cc879a97c3e2614d19b15b4661c3cab4d33139c9 (patch) | |
| tree | 69d225e9f0e9d79fec8f423d9c40c275f0bf3b8c /git_superproject.py | |
| parent | 87cce68b28c34fa86895baa8d7f48307382e6c75 (diff) | |
| download | git-repo-cc879a97c3e2614d19b15b4661c3cab4d33139c9.tar.gz | |
Add multi-manifest support with <submanifest> elementv2.22
To be addressed in another change:
- a partial `repo sync` (with a list of projects/paths to sync)
requires `--this-tree-only`.
Change-Id: I6c7400bf001540e9d7694fa70934f8f204cb5f57
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/322657
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'git_superproject.py')
| -rw-r--r-- | git_superproject.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git_superproject.py b/git_superproject.py index 237e57e1..299d2537 100644 --- a/git_superproject.py +++ b/git_superproject.py | |||
| @@ -92,7 +92,8 @@ class Superproject(object): | |||
| 92 | self._branch = manifest.branch | 92 | self._branch = manifest.branch |
| 93 | self._repodir = os.path.abspath(repodir) | 93 | self._repodir = os.path.abspath(repodir) |
| 94 | self._superproject_dir = superproject_dir | 94 | self._superproject_dir = superproject_dir |
| 95 | self._superproject_path = os.path.join(self._repodir, superproject_dir) | 95 | self._superproject_path = manifest.SubmanifestInfoDir(manifest.path_prefix, |
| 96 | superproject_dir) | ||
| 96 | self._manifest_path = os.path.join(self._superproject_path, | 97 | self._manifest_path = os.path.join(self._superproject_path, |
| 97 | _SUPERPROJECT_MANIFEST_NAME) | 98 | _SUPERPROJECT_MANIFEST_NAME) |
| 98 | git_name = '' | 99 | git_name = '' |
