summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2008-11-20 11:42:22 -0800
committerShawn O. Pearce <sop@google.com>2008-11-20 11:54:46 -0800
commit03eaf07ec6aa7e99a0444ac1ec708b2a5f7cbbf5 (patch)
tree3de33686218f59849912004a4376402082384fff /docs
parent2896a79120fe1de65472736f756c47b558b44db1 (diff)
downloadgit-repo-03eaf07ec6aa7e99a0444ac1ec708b2a5f7cbbf5.tar.gz
Support <remove-project name="X"> in manifest to remove/replace Xv1.4
The manifest files now permit removing a project so the user can either keep it out of their client, or replace it with a different project using an entirely different configuration. Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index 5c014d6d..562e66e2 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -22,6 +22,7 @@ following DTD:
22<!DOCTYPE manifest [ 22<!DOCTYPE manifest [
23 <!ELEMENT manifest (remote*, 23 <!ELEMENT manifest (remote*,
24 default?, 24 default?,
25 remove-project*,
25 project*, 26 project*,
26 add-remote*)> 27 add-remote*)>
27 28
@@ -47,6 +48,9 @@ following DTD:
47 <!ATTLIST add-remote fetch CDATA #REQUIRED> 48 <!ATTLIST add-remote fetch CDATA #REQUIRED>
48 <!ATTLIST add-remote review CDATA #IMPLIED> 49 <!ATTLIST add-remote review CDATA #IMPLIED>
49 <!ATTLIST add-remote project-name CDATA #IMPLIED> 50 <!ATTLIST add-remote project-name CDATA #IMPLIED>
51
52 <!ELEMENT remove-project (EMPTY)>
53 <!ATTLIST remove-project name CDATA #REQUIRED>
50]> 54]>
51 55
52A description of the elements and their attributes follows. 56A description of the elements and their attributes follows.
@@ -155,6 +159,18 @@ the majority of the project's object database to be obtained through
155these additional remotes. 159these additional remotes.
156 160
157 161
162Element remove-project
163----------------------
164
165Deletes the named project from the internal manifest table, possibly
166allowing a subsequent project element in the same manifest file to
167replace the project with a different source.
168
169This element is mostly useful in the local_manifest.xml, where
170the user can remove a project, and possibly replace it with their
171own definition.
172
173
158Local Manifest 174Local Manifest
159============== 175==============
160 176