diff options
author | Shawn O. Pearce <sop@google.com> | 2008-11-20 11:42:22 -0800 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2008-11-20 11:54:46 -0800 |
commit | 03eaf07ec6aa7e99a0444ac1ec708b2a5f7cbbf5 (patch) | |
tree | 3de33686218f59849912004a4376402082384fff /docs | |
parent | 2896a79120fe1de65472736f756c47b558b44db1 (diff) | |
download | git-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.txt | 16 |
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 | ||
52 | A description of the elements and their attributes follows. | 56 | A description of the elements and their attributes follows. |
@@ -155,6 +159,18 @@ the majority of the project's object database to be obtained through | |||
155 | these additional remotes. | 159 | these additional remotes. |
156 | 160 | ||
157 | 161 | ||
162 | Element remove-project | ||
163 | ---------------------- | ||
164 | |||
165 | Deletes the named project from the internal manifest table, possibly | ||
166 | allowing a subsequent project element in the same manifest file to | ||
167 | replace the project with a different source. | ||
168 | |||
169 | This element is mostly useful in the local_manifest.xml, where | ||
170 | the user can remove a project, and possibly replace it with their | ||
171 | own definition. | ||
172 | |||
173 | |||
158 | Local Manifest | 174 | Local Manifest |
159 | ============== | 175 | ============== |
160 | 176 | ||