summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2008-11-06 08:48:44 -0800
committerShawn O. Pearce <sop@google.com>2008-11-06 08:48:44 -0800
commit70cd4ab2708eaae7d96d7e8b0a3f88850c163543 (patch)
treefe973a5bbed05d4fb81019a3c43f7660ff89bc2b
parente284ad1d1a2c6fa0e0ac800e87b2607f9bda339e (diff)
downloadgit-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.txt29
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
124remotes are fetched from first on the initial `repo sync`, causing 124remotes are fetched from first on the initial `repo sync`, causing
125the majority of the project's object database to be obtained through 125the majority of the project's object database to be obtained through
126these additional remotes. 126these additional remotes.
127
128
129Local Manifest
130==============
131
132Additional remotes and projects may be added through a local
133manifest, stored in `$TOP_DIR/.repo/local_manifest.xml`.
134
135For 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
148Users may add projects to the local manifest prior to a `repo sync`
149invocation, instructing repo to automatically download and manage
150these extra projects.
151
152Currently the only supported feature of a local manifest is to
153add new remotes and/or projects. In the future a local manifest
154may support picking different revisions of a project, or deleting
155projects specified in the default manifest.