summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.md
diff options
context:
space:
mode:
authorErik Elmeke <erik@haleytek.corp-partner.google.com>2022-09-09 17:13:17 +0200
committerErik Elmeke <erik@haleytek.corp-partner.google.com>2022-09-20 04:25:02 +0000
commit4cdfdb77343b2d4664c0a13c9e485a02988e578f (patch)
tree37818030e8e9acca44bcf7e9057ba2a7b9b8f7e2 /docs/manifest-format.md
parent1eddca847625c50d985d9310e2bee2901c909925 (diff)
downloadgit-repo-4cdfdb77343b2d4664c0a13c9e485a02988e578f.tar.gz
manifest: allow extend-project to override dest-branch and upstream
Bug: https://crbug.com/gerrit/16238 Change-Id: Id6eff34791525b3df690e160c911c0286331984b Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/345144 Tested-by: Erik Elmeke <erik@haleytek.corp-partner.google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs/manifest-format.md')
-rw-r--r--docs/manifest-format.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index 0d26296d..bcdf5a8e 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -105,6 +105,8 @@ following DTD:
105 <!ATTLIST extend-project groups CDATA #IMPLIED> 105 <!ATTLIST extend-project groups CDATA #IMPLIED>
106 <!ATTLIST extend-project revision CDATA #IMPLIED> 106 <!ATTLIST extend-project revision CDATA #IMPLIED>
107 <!ATTLIST extend-project remote CDATA #IMPLIED> 107 <!ATTLIST extend-project remote CDATA #IMPLIED>
108 <!ATTLIST extend-project dest-branch CDATA #IMPLIED>
109 <!ATTLIST extend-project upstream CDATA #IMPLIED>
108 110
109 <!ELEMENT remove-project EMPTY> 111 <!ELEMENT remove-project EMPTY>
110 <!ATTLIST remove-project name CDATA #REQUIRED> 112 <!ATTLIST remove-project name CDATA #REQUIRED>
@@ -423,6 +425,12 @@ project. Same syntax as the corresponding element of `project`.
423Attribute `remote`: If specified, overrides the remote of the original 425Attribute `remote`: If specified, overrides the remote of the original
424project. Same syntax as the corresponding element of `project`. 426project. Same syntax as the corresponding element of `project`.
425 427
428Attribute `dest-branch`: If specified, overrides the dest-branch of the original
429project. Same syntax as the corresponding element of `project`.
430
431Attribute `upstream`: If specified, overrides the upstream of the original
432project. Same syntax as the corresponding element of `project`.
433
426### Element annotation 434### Element annotation
427 435
428Zero or more annotation elements may be specified as children of a 436Zero or more annotation elements may be specified as children of a