summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manifest-format.txt')
-rw-r--r--docs/manifest-format.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index 1aa93965..7f138209 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -50,7 +50,9 @@ following DTD:
50 <!ATTLIST url CDATA #REQUIRED> 50 <!ATTLIST url CDATA #REQUIRED>
51 51
52 <!ELEMENT project (annotation*, 52 <!ELEMENT project (annotation*,
53 project*)> 53 project*,
54 copyfile?,
55 linkfile?)>
54 <!ATTLIST project name CDATA #REQUIRED> 56 <!ATTLIST project name CDATA #REQUIRED>
55 <!ATTLIST project path CDATA #IMPLIED> 57 <!ATTLIST project path CDATA #IMPLIED>
56 <!ATTLIST project remote IDREF #IMPLIED> 58 <!ATTLIST project remote IDREF #IMPLIED>
@@ -68,6 +70,14 @@ following DTD:
68 <!ATTLIST annotation value CDATA #REQUIRED> 70 <!ATTLIST annotation value CDATA #REQUIRED>
69 <!ATTLIST annotation keep CDATA "true"> 71 <!ATTLIST annotation keep CDATA "true">
70 72
73 <!ELEMENT copyfile (EMPTY)>
74 <!ATTLIST src value CDATA #REQUIRED>
75 <!ATTLIST dest value CDATA #REQUIRED>
76
77 <!ELEMENT linkfile (EMPTY)>
78 <!ATTLIST src value CDATA #REQUIRED>
79 <!ATTLIST dest value CDATA #REQUIRED>
80
71 <!ELEMENT extend-project> 81 <!ELEMENT extend-project>
72 <!ATTLIST extend-project name CDATA #REQUIRED> 82 <!ATTLIST extend-project name CDATA #REQUIRED>
73 <!ATTLIST extend-project path CDATA #IMPLIED> 83 <!ATTLIST extend-project path CDATA #IMPLIED>
@@ -285,6 +295,21 @@ prefixed with REPO__. In addition, there is an optional attribute
285"false". This attribute determines whether or not the annotation will 295"false". This attribute determines whether or not the annotation will
286be kept when exported with the manifest subcommand. 296be kept when exported with the manifest subcommand.
287 297
298Element copyfile
299----------------
300
301Zero or more copyfile elements may be specified as children of a
302project element. Each element describes a src-dest pair of files;
303the "src" file will be copied to the "dest" place during 'repo sync'
304command.
305"src" is project relative, "dest" is relative to the top of the tree.
306
307Element linkfile
308----------------
309
310It's just like copyfile and runs at the same time as copyfile but
311instead of copying it creates a symlink.
312
288Element remove-project 313Element remove-project
289---------------------- 314----------------------
290 315