diff options
author | Shawn O. Pearce <sop@google.com> | 2008-11-06 08:48:44 -0800 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2008-11-06 08:48:44 -0800 |
commit | 70cd4ab2708eaae7d96d7e8b0a3f88850c163543 (patch) | |
tree | fe973a5bbed05d4fb81019a3c43f7660ff89bc2b | |
parent | e284ad1d1a2c6fa0e0ac800e87b2607f9bda339e (diff) | |
download | git-repo-70cd4ab2708eaae7d96d7e8b0a3f88850c163543.tar.gz |
Add some short documentation about the local manifest
Signed-off-by: Shawn O. Pearce <sop@google.com>
-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. | ||