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.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index 71fa04c5..06d370a3 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -98,7 +98,9 @@ following DTD:
98 <!ATTLIST linkfile src CDATA #REQUIRED> 98 <!ATTLIST linkfile src CDATA #REQUIRED>
99 <!ATTLIST linkfile dest CDATA #REQUIRED> 99 <!ATTLIST linkfile dest CDATA #REQUIRED>
100 100
101 <!ELEMENT extend-project EMPTY> 101 <!ELEMENT extend-project (annotation*,
102 copyfile*,
103 linkfile*)>
102 <!ATTLIST extend-project name CDATA #REQUIRED> 104 <!ATTLIST extend-project name CDATA #REQUIRED>
103 <!ATTLIST extend-project path CDATA #IMPLIED> 105 <!ATTLIST extend-project path CDATA #IMPLIED>
104 <!ATTLIST extend-project dest-path CDATA #IMPLIED> 106 <!ATTLIST extend-project dest-path CDATA #IMPLIED>
@@ -427,19 +429,20 @@ Same syntax as the corresponding element of `project`.
427### Element annotation 429### Element annotation
428 430
429Zero or more annotation elements may be specified as children of a 431Zero or more annotation elements may be specified as children of a
430project or remote element. Each element describes a name-value pair. 432project element, an extend-project element, or a remote element. Each
431For projects, this name-value pair will be exported into each project's 433element describes a name-value pair. For projects, this name-value pair
432environment during a 'forall' command, prefixed with `REPO__`. In addition, 434will be exported into each project's environment during a 'forall'
433there is an optional attribute "keep" which accepts the case insensitive values 435command, prefixed with `REPO__`. In addition, there is an optional
434"true" (default) or "false". This attribute determines whether or not the 436attribute "keep" which accepts the case insensitive values "true"
437(default) or "false". This attribute determines whether or not the
435annotation will be kept when exported with the manifest subcommand. 438annotation will be kept when exported with the manifest subcommand.
436 439
437### Element copyfile 440### Element copyfile
438 441
439Zero or more copyfile elements may be specified as children of a 442Zero or more copyfile elements may be specified as children of a
440project element. Each element describes a src-dest pair of files; 443project element, or an extend-project element. Each element describes a
441the "src" file will be copied to the "dest" place during `repo sync` 444src-dest pair of files; the "src" file will be copied to the "dest"
442command. 445place during `repo sync` command.
443 446
444"src" is project relative, "dest" is relative to the top of the tree. 447"src" is project relative, "dest" is relative to the top of the tree.
445Copying from paths outside of the project or to paths outside of the repo 448Copying from paths outside of the project or to paths outside of the repo