mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "docs: add copyfile and linkfile elements description"
This commit is contained in:
commit
aad84232ca
@ -50,7 +50,9 @@ following DTD:
|
|||||||
<!ATTLIST url CDATA #REQUIRED>
|
<!ATTLIST url CDATA #REQUIRED>
|
||||||
|
|
||||||
<!ELEMENT project (annotation*,
|
<!ELEMENT project (annotation*,
|
||||||
project*)>
|
project*,
|
||||||
|
copyfile?,
|
||||||
|
linkfile?)>
|
||||||
<!ATTLIST project name CDATA #REQUIRED>
|
<!ATTLIST project name CDATA #REQUIRED>
|
||||||
<!ATTLIST project path CDATA #IMPLIED>
|
<!ATTLIST project path CDATA #IMPLIED>
|
||||||
<!ATTLIST project remote IDREF #IMPLIED>
|
<!ATTLIST project remote IDREF #IMPLIED>
|
||||||
@ -68,6 +70,14 @@ following DTD:
|
|||||||
<!ATTLIST annotation value CDATA #REQUIRED>
|
<!ATTLIST annotation value CDATA #REQUIRED>
|
||||||
<!ATTLIST annotation keep CDATA "true">
|
<!ATTLIST annotation keep CDATA "true">
|
||||||
|
|
||||||
|
<!ELEMENT copyfile (EMPTY)>
|
||||||
|
<!ATTLIST src value CDATA #REQUIRED>
|
||||||
|
<!ATTLIST dest value CDATA #REQUIRED>
|
||||||
|
|
||||||
|
<!ELEMENT linkfile (EMPTY)>
|
||||||
|
<!ATTLIST src value CDATA #REQUIRED>
|
||||||
|
<!ATTLIST dest value CDATA #REQUIRED>
|
||||||
|
|
||||||
<!ELEMENT extend-project>
|
<!ELEMENT extend-project>
|
||||||
<!ATTLIST extend-project name CDATA #REQUIRED>
|
<!ATTLIST extend-project name CDATA #REQUIRED>
|
||||||
<!ATTLIST extend-project path CDATA #IMPLIED>
|
<!ATTLIST extend-project path CDATA #IMPLIED>
|
||||||
@ -285,6 +295,21 @@ prefixed with REPO__. In addition, there is an optional attribute
|
|||||||
"false". This attribute determines whether or not the annotation will
|
"false". This attribute determines whether or not the annotation will
|
||||||
be kept when exported with the manifest subcommand.
|
be kept when exported with the manifest subcommand.
|
||||||
|
|
||||||
|
Element copyfile
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Zero or more copyfile elements may be specified as children of a
|
||||||
|
project element. Each element describes a src-dest pair of files;
|
||||||
|
the "src" file will be copied to the "dest" place during 'repo sync'
|
||||||
|
command.
|
||||||
|
"src" is project relative, "dest" is relative to the top of the tree.
|
||||||
|
|
||||||
|
Element linkfile
|
||||||
|
----------------
|
||||||
|
|
||||||
|
It's just like copyfile and runs at the same time as copyfile but
|
||||||
|
instead of copying it creates a symlink.
|
||||||
|
|
||||||
Element remove-project
|
Element remove-project
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user