summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manifest-format.md')
-rw-r--r--docs/manifest-format.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index 36dae6de..cfb80164 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -107,11 +107,13 @@ following DTD:
107 <!ATTLIST extend-project remote CDATA #IMPLIED> 107 <!ATTLIST extend-project remote CDATA #IMPLIED>
108 <!ATTLIST extend-project dest-branch CDATA #IMPLIED> 108 <!ATTLIST extend-project dest-branch CDATA #IMPLIED>
109 <!ATTLIST extend-project upstream CDATA #IMPLIED> 109 <!ATTLIST extend-project upstream CDATA #IMPLIED>
110 <!ATTLIST extend-project base-rev CDATA #IMPLIED>
110 111
111 <!ELEMENT remove-project EMPTY> 112 <!ELEMENT remove-project EMPTY>
112 <!ATTLIST remove-project name CDATA #IMPLIED> 113 <!ATTLIST remove-project name CDATA #IMPLIED>
113 <!ATTLIST remove-project path CDATA #IMPLIED> 114 <!ATTLIST remove-project path CDATA #IMPLIED>
114 <!ATTLIST remove-project optional CDATA #IMPLIED> 115 <!ATTLIST remove-project optional CDATA #IMPLIED>
116 <!ATTLIST remove-project base-rev CDATA #IMPLIED>
115 117
116 <!ELEMENT repo-hooks EMPTY> 118 <!ELEMENT repo-hooks EMPTY>
117 <!ATTLIST repo-hooks in-project CDATA #REQUIRED> 119 <!ATTLIST repo-hooks in-project CDATA #REQUIRED>
@@ -433,6 +435,14 @@ project. Same syntax as the corresponding element of `project`.
433Attribute `upstream`: If specified, overrides the upstream of the original 435Attribute `upstream`: If specified, overrides the upstream of the original
434project. Same syntax as the corresponding element of `project`. 436project. Same syntax as the corresponding element of `project`.
435 437
438Attribute `base-rev`: If specified, adds a check against the revision
439to be extended. Manifest parse will fail and give a list of mismatch extends
440if the revisions being extended have changed since base-rev was set.
441Intended for use with layered manifests using hash revisions to prevent
442patch branches hiding newer upstream revisions. Also compares named refs
443like branches or tags but is misleading if branches are used as base-rev.
444Same syntax as the corresponding element of `project`.
445
436### Element annotation 446### Element annotation
437 447
438Zero or more annotation elements may be specified as children of a 448Zero or more annotation elements may be specified as children of a
@@ -496,6 +506,14 @@ name. Logic otherwise behaves like both are specified.
496Attribute `optional`: Set to true to ignore remove-project elements with no 506Attribute `optional`: Set to true to ignore remove-project elements with no
497matching `project` element. 507matching `project` element.
498 508
509Attribute `base-rev`: If specified, adds a check against the revision
510to be removed. Manifest parse will fail and give a list of mismatch removes
511if the revisions being removed have changed since base-rev was set.
512Intended for use with layered manifests using hash revisions to prevent
513patch branches hiding newer upstream revisions. Also compares named refs
514like branches or tags but is misleading if branches are used as base-rev.
515Same syntax as the corresponding element of `project`.
516
499### Element repo-hooks 517### Element repo-hooks
500 518
501NB: See the [practical documentation](./repo-hooks.md) for using repo hooks. 519NB: See the [practical documentation](./repo-hooks.md) for using repo hooks.