summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manifest-format.txt')
-rw-r--r--docs/manifest-format.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index e48b75fe..28a21bb7 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -35,6 +35,7 @@ following DTD:
35 <!ATTLIST remote alias CDATA #IMPLIED> 35 <!ATTLIST remote alias CDATA #IMPLIED>
36 <!ATTLIST remote fetch CDATA #REQUIRED> 36 <!ATTLIST remote fetch CDATA #REQUIRED>
37 <!ATTLIST remote review CDATA #IMPLIED> 37 <!ATTLIST remote review CDATA #IMPLIED>
38 <!ATTLIST remote revision CDATA #IMPLIED>
38 39
39 <!ELEMENT default (EMPTY)> 40 <!ELEMENT default (EMPTY)>
40 <!ATTLIST default remote IDREF #IMPLIED> 41 <!ATTLIST default remote IDREF #IMPLIED>
@@ -112,6 +113,10 @@ Attribute `review`: Hostname of the Gerrit server where reviews
112are uploaded to by `repo upload`. This attribute is optional; 113are uploaded to by `repo upload`. This attribute is optional;
113if not specified then `repo upload` will not function. 114if not specified then `repo upload` will not function.
114 115
116Attribute `revision`: Name of a Git branch (e.g. `master` or
117`refs/heads/master`). Remotes with their own revision will override
118the default revision.
119
115Element default 120Element default
116--------------- 121---------------
117 122
@@ -132,14 +137,14 @@ Project elements not setting their own `dest-branch` will inherit
132this value. If this value is not set, projects will use `revision` 137this value. If this value is not set, projects will use `revision`
133by default instead. 138by default instead.
134 139
135Attribute `sync_j`: Number of parallel jobs to use when synching. 140Attribute `sync-j`: Number of parallel jobs to use when synching.
136 141
137Attribute `sync_c`: Set to true to only sync the given Git 142Attribute `sync-c`: Set to true to only sync the given Git
138branch (specified in the `revision` attribute) rather than the 143branch (specified in the `revision` attribute) rather than the
139whole ref space. Project elements lacking a sync_c element of 144whole ref space. Project elements lacking a sync-c element of
140their own will use this value. 145their own will use this value.
141 146
142Attribute `sync_s`: Set to true to also sync sub-projects. 147Attribute `sync-s`: Set to true to also sync sub-projects.
143 148
144 149
145Element manifest-server 150Element manifest-server
@@ -208,7 +213,8 @@ to track for this project. Names can be relative to refs/heads
208(e.g. just "master") or absolute (e.g. "refs/heads/master"). 213(e.g. just "master") or absolute (e.g. "refs/heads/master").
209Tags and/or explicit SHA-1s should work in theory, but have not 214Tags and/or explicit SHA-1s should work in theory, but have not
210been extensively tested. If not supplied the revision given by 215been extensively tested. If not supplied the revision given by
211the default element is used. 216the remote element is used if applicable, else the default
217element is used.
212 218
213Attribute `dest-branch`: Name of a Git branch (e.g. `master`). 219Attribute `dest-branch`: Name of a Git branch (e.g. `master`).
214When using `repo upload`, changes will be submitted for code 220When using `repo upload`, changes will be submitted for code
@@ -226,11 +232,11 @@ group "notdefault", it will not be automatically downloaded by repo.
226If the project has a parent element, the `name` and `path` here 232If the project has a parent element, the `name` and `path` here
227are the prefixed ones. 233are the prefixed ones.
228 234
229Attribute `sync_c`: Set to true to only sync the given Git 235Attribute `sync-c`: Set to true to only sync the given Git
230branch (specified in the `revision` attribute) rather than the 236branch (specified in the `revision` attribute) rather than the
231whole ref space. 237whole ref space.
232 238
233Attribute `sync_s`: Set to true to also sync sub-projects. 239Attribute `sync-s`: Set to true to also sync sub-projects.
234 240
235Attribute `upstream`: Name of the Git branch in which a sha1 241Attribute `upstream`: Name of the Git branch in which a sha1
236can be found. Used when syncing a revision locked manifest in 242can be found. Used when syncing a revision locked manifest in