diff options
| author | Shawn O. Pearce <sop@google.com> | 2010-12-07 10:31:19 -0800 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2010-12-07 11:13:29 -0800 |
| commit | 13f3da50d40b89ee5b05f5f3de9542c20edac6d1 (patch) | |
| tree | d085b6f6b498bde85a1969fce884dd24e88d03d5 /manifest_submodule.py | |
| parent | 3218c13205694434edb2375ab8a8515554eed366 (diff) | |
| parent | 2b8db3ce3e7344b9f3b5216637c5af0d54be5656 (diff) | |
| download | git-repo-13f3da50d40b89ee5b05f5f3de9542c20edac6d1.tar.gz | |
Merge branch 'stable'
* stable: (33 commits)
Added feature to print a <notice> from manifest at the end of a sync.
sync: Use --force-broken to continue other projects
upload: Remove --replace option
sync --quiet: be more quiet
sync: Enable use of git clone --reference
Only delete corrupt pickle config files if they exist
Don't allow git fetch to start ControlMaster
Check for existing SSH ControlMaster
Fix for handling values of EDITOR which contain a space.
upload: Fix --replace flag
rebase: Pass through more options
upload: Allow review.HOST.username to override email
upload -t: Automatically include local branch name
Warn users before uploading if there are local changes
sync: Try fetching a tag as a last resort before giving up
rebase: Automatically rebase branch on upstrea
upload: Automatically --cc folks in review.URL.autocopy
Fix format string bugs in grep
Do not invoke ssh with -p argument when no port has been specified.
Allow files to be copied into new folders
...
Conflicts:
git_config.py
manifest_xml.py
subcmds/init.py
subcmds/sync.py
subcmds/upload.py
Change-Id: I4756a6908277e91505c35287a122a775b68f4df5
Diffstat (limited to 'manifest_submodule.py')
| -rw-r--r-- | manifest_submodule.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifest_submodule.py b/manifest_submodule.py index 92f187a0..cac271cd 100644 --- a/manifest_submodule.py +++ b/manifest_submodule.py | |||
| @@ -102,6 +102,10 @@ class SubmoduleManifest(Manifest): | |||
| 102 | self._Load() | 102 | self._Load() |
| 103 | return self._projects | 103 | return self._projects |
| 104 | 104 | ||
| 105 | @property | ||
| 106 | def notice(self): | ||
| 107 | return self._modules.GetString('repo.notice') | ||
| 108 | |||
| 105 | def InitBranch(self): | 109 | def InitBranch(self): |
| 106 | m = self.manifestProject | 110 | m = self.manifestProject |
| 107 | if m.CurrentBranch is None: | 111 | if m.CurrentBranch is None: |
| @@ -266,6 +270,9 @@ class SubmoduleManifest(Manifest): | |||
| 266 | if b.startswith(R_HEADS): | 270 | if b.startswith(R_HEADS): |
| 267 | b = b[len(R_HEADS):] | 271 | b = b[len(R_HEADS):] |
| 268 | 272 | ||
| 273 | if old.notice: | ||
| 274 | gm.SetString('repo.notice', old.notice) | ||
| 275 | |||
| 269 | info = [] | 276 | info = [] |
| 270 | pm = Progress('Converting manifest', len(sort_projects)) | 277 | pm = Progress('Converting manifest', len(sort_projects)) |
| 271 | for p in sort_projects: | 278 | for p in sort_projects: |
