diff options
-rw-r--r-- | docs/manifest-format.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index a84aa877..409524bb 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -124,3 +124,32 @@ but adds an additional remote to only this project. These additional | |||
124 | remotes are fetched from first on the initial `repo sync`, causing | 124 | remotes are fetched from first on the initial `repo sync`, causing |
125 | the majority of the project's object database to be obtained through | 125 | the majority of the project's object database to be obtained through |
126 | these additional remotes. | 126 | these additional remotes. |
127 | |||
128 | |||
129 | Local Manifest | ||
130 | ============== | ||
131 | |||
132 | Additional remotes and projects may be added through a local | ||
133 | manifest, stored in `$TOP_DIR/.repo/local_manifest.xml`. | ||
134 | |||
135 | For example: | ||
136 | |||
137 | ---- | ||
138 | $ cat .repo/local_manifest.xml | ||
139 | <?xml version="1.0" encoding="UTF-8"?> | ||
140 | <manifest> | ||
141 | <project path="manifest" | ||
142 | name="tools/manifest" /> | ||
143 | <project path="platform-manifest" | ||
144 | name="platform/manifest" /> | ||
145 | </manifest> | ||
146 | ---- | ||
147 | |||
148 | Users may add projects to the local manifest prior to a `repo sync` | ||
149 | invocation, instructing repo to automatically download and manage | ||
150 | these extra projects. | ||
151 | |||
152 | Currently the only supported feature of a local manifest is to | ||
153 | add new remotes and/or projects. In the future a local manifest | ||
154 | may support picking different revisions of a project, or deleting | ||
155 | projects specified in the default manifest. | ||