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.txt31
1 files changed, 28 insertions, 3 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index 1aa93965..140a782f 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -47,10 +47,12 @@ following DTD:
47 <!ATTLIST default sync-s CDATA #IMPLIED> 47 <!ATTLIST default sync-s CDATA #IMPLIED>
48 48
49 <!ELEMENT manifest-server (EMPTY)> 49 <!ELEMENT manifest-server (EMPTY)>
50 <!ATTLIST url CDATA #REQUIRED> 50 <!ATTLIST manifest-server 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,7 +70,15 @@ 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
71 <!ELEMENT extend-project> 73 <!ELEMENT copyfile (EMPTY)>
74 <!ATTLIST copyfile src CDATA #REQUIRED>
75 <!ATTLIST copyfile dest CDATA #REQUIRED>
76
77 <!ELEMENT linkfile (EMPTY)>
78 <!ATTLIST linkfile src CDATA #REQUIRED>
79 <!ATTLIST linkfile dest CDATA #REQUIRED>
80
81 <!ELEMENT extend-project (EMPTY)>
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>
74 <!ATTLIST extend-project groups CDATA #IMPLIED> 84 <!ATTLIST extend-project groups 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