diff options
Diffstat (limited to 'docs/manifest-format.txt')
-rw-r--r-- | docs/manifest-format.txt | 20 |
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 | |||
112 | are uploaded to by `repo upload`. This attribute is optional; | 113 | are uploaded to by `repo upload`. This attribute is optional; |
113 | if not specified then `repo upload` will not function. | 114 | if not specified then `repo upload` will not function. |
114 | 115 | ||
116 | Attribute `revision`: Name of a Git branch (e.g. `master` or | ||
117 | `refs/heads/master`). Remotes with their own revision will override | ||
118 | the default revision. | ||
119 | |||
115 | Element default | 120 | Element default |
116 | --------------- | 121 | --------------- |
117 | 122 | ||
@@ -132,14 +137,14 @@ Project elements not setting their own `dest-branch` will inherit | |||
132 | this value. If this value is not set, projects will use `revision` | 137 | this value. If this value is not set, projects will use `revision` |
133 | by default instead. | 138 | by default instead. |
134 | 139 | ||
135 | Attribute `sync_j`: Number of parallel jobs to use when synching. | 140 | Attribute `sync-j`: Number of parallel jobs to use when synching. |
136 | 141 | ||
137 | Attribute `sync_c`: Set to true to only sync the given Git | 142 | Attribute `sync-c`: Set to true to only sync the given Git |
138 | branch (specified in the `revision` attribute) rather than the | 143 | branch (specified in the `revision` attribute) rather than the |
139 | whole ref space. Project elements lacking a sync_c element of | 144 | whole ref space. Project elements lacking a sync-c element of |
140 | their own will use this value. | 145 | their own will use this value. |
141 | 146 | ||
142 | Attribute `sync_s`: Set to true to also sync sub-projects. | 147 | Attribute `sync-s`: Set to true to also sync sub-projects. |
143 | 148 | ||
144 | 149 | ||
145 | Element manifest-server | 150 | Element 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"). |
209 | Tags and/or explicit SHA-1s should work in theory, but have not | 214 | Tags and/or explicit SHA-1s should work in theory, but have not |
210 | been extensively tested. If not supplied the revision given by | 215 | been extensively tested. If not supplied the revision given by |
211 | the default element is used. | 216 | the remote element is used if applicable, else the default |
217 | element is used. | ||
212 | 218 | ||
213 | Attribute `dest-branch`: Name of a Git branch (e.g. `master`). | 219 | Attribute `dest-branch`: Name of a Git branch (e.g. `master`). |
214 | When using `repo upload`, changes will be submitted for code | 220 | When using `repo upload`, changes will be submitted for code |
@@ -226,11 +232,11 @@ group "notdefault", it will not be automatically downloaded by repo. | |||
226 | If the project has a parent element, the `name` and `path` here | 232 | If the project has a parent element, the `name` and `path` here |
227 | are the prefixed ones. | 233 | are the prefixed ones. |
228 | 234 | ||
229 | Attribute `sync_c`: Set to true to only sync the given Git | 235 | Attribute `sync-c`: Set to true to only sync the given Git |
230 | branch (specified in the `revision` attribute) rather than the | 236 | branch (specified in the `revision` attribute) rather than the |
231 | whole ref space. | 237 | whole ref space. |
232 | 238 | ||
233 | Attribute `sync_s`: Set to true to also sync sub-projects. | 239 | Attribute `sync-s`: Set to true to also sync sub-projects. |
234 | 240 | ||
235 | Attribute `upstream`: Name of the Git branch in which a sha1 | 241 | Attribute `upstream`: Name of the Git branch in which a sha1 |
236 | can be found. Used when syncing a revision locked manifest in | 242 | can be found. Used when syncing a revision locked manifest in |