summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.txt
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-13 02:50:36 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-13 08:19:51 +0900
commit2d5a0df798b7b16ccf9c17b2435a9640cf0d81c0 (patch)
treeca99d70bdf9e4602beff0181f29f36a9d28eec7d /docs/manifest-format.txt
parentf7fc8a95beb1337e23f146cad8086c1fc05902ee (diff)
downloadgit-repo-2d5a0df798b7b16ccf9c17b2435a9640cf0d81c0.tar.gz
Add support for multiple local manifests
Add support for multiple local manifests stored in the local_manifests folder under the .repo home directory. Local manifests will be processed in addition to local_manifest.xml. Change-Id: Ia0569cea7e9ae0fe3208a8ffef5d9679e14db03b
Diffstat (limited to 'docs/manifest-format.txt')
-rw-r--r--docs/manifest-format.txt19
1 files changed, 13 insertions, 6 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index f499868c..c51b84be 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -224,15 +224,19 @@ Attribute `name`; the manifest to include, specified relative to
224the manifest repositories root. 224the manifest repositories root.
225 225
226 226
227Local Manifest 227Local Manifests
228============== 228===============
229 229
230Additional remotes and projects may be added through a local 230Additional remotes and projects may be added through local manifest
231manifest, stored in `$TOP_DIR/.repo/local_manifest.xml`. 231files stored in `$TOP_DIR/.repo/local_manifests/*.xml`.
232 232
233For example: 233For example:
234 234
235 $ cat .repo/local_manifest.xml 235 $ ls .repo/local_manifests
236 local_manifest.xml
237 another_local_manifest.xml
238
239 $ cat .repo/local_manifests/local_manifest.xml
236 <?xml version="1.0" encoding="UTF-8"?> 240 <?xml version="1.0" encoding="UTF-8"?>
237 <manifest> 241 <manifest>
238 <project path="manifest" 242 <project path="manifest"
@@ -241,6 +245,9 @@ For example:
241 name="platform/manifest" /> 245 name="platform/manifest" />
242 </manifest> 246 </manifest>
243 247
244Users may add projects to the local manifest prior to a `repo sync` 248Users may add projects to the local manifest(s) prior to a `repo sync`
245invocation, instructing repo to automatically download and manage 249invocation, instructing repo to automatically download and manage
246these extra projects. 250these extra projects.
251
252Additional remotes and projects may also be added through a local
253manifest, stored in `$TOP_DIR/.repo/local_manifest.xml`.