diff --git a/docs/manifest-format.md b/docs/manifest-format.md index d776a81b..92d659f1 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md @@ -322,13 +322,25 @@ 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. +Copying from paths outside of the project or to paths outside of the repo +client is not allowed. + +"src" and "dest" must be files. Directories or symlinks are not allowed. +Intermediate paths must not be symlinks either. ### Element linkfile It's just like copyfile and runs at the same time as copyfile but instead of copying it creates a symlink. +The symlink is created at "dest" (relative to the top of the tree) and +points to the path specified by "src". + +The symlink target may be a file or directory, but it may not point outside +of the repo client. + ### Element remove-project Deletes the named project from the internal manifest table, possibly