diff options
| author | Jack Neus <jackneus@google.com> | 2021-07-20 20:52:33 +0000 |
|---|---|---|
| committer | Jack Neus <jackneus@google.com> | 2021-07-23 18:03:11 +0000 |
| commit | 6ea0caea86f4c6b1f934b682a3aa7722e98a46f9 (patch) | |
| tree | f54707aa6778f60078aef727210669f22f87de4e /docs/manifest-format.md | |
| parent | 8e983bbc0f5f48aa38d0e1c5a37766ce121d28eb (diff) | |
| download | git-repo-6ea0caea86f4c6b1f934b682a3aa7722e98a46f9.tar.gz | |
repo: properly handle remote annotations in manifest_xml
BUG=b:192664812
TEST=tests/
Change-Id: I1aa50260f4a00d3cebbd531141e1626825e70127
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/312643
Tested-by: Jack Neus <jackneus@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs/manifest-format.md')
| -rw-r--r-- | docs/manifest-format.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md index c3bfcff0..854e5e1b 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md | |||
| @@ -36,7 +36,7 @@ following DTD: | |||
| 36 | 36 | ||
| 37 | <!ELEMENT notice (#PCDATA)> | 37 | <!ELEMENT notice (#PCDATA)> |
| 38 | 38 | ||
| 39 | <!ELEMENT remote EMPTY> | 39 | <!ELEMENT remote (annotation*)> |
| 40 | <!ATTLIST remote name ID #REQUIRED> | 40 | <!ATTLIST remote name ID #REQUIRED> |
| 41 | <!ATTLIST remote alias CDATA #IMPLIED> | 41 | <!ATTLIST remote alias CDATA #IMPLIED> |
| 42 | <!ATTLIST remote fetch CDATA #REQUIRED> | 42 | <!ATTLIST remote fetch CDATA #REQUIRED> |
| @@ -348,12 +348,12 @@ project. Same syntax as the corresponding element of `project`. | |||
| 348 | ### Element annotation | 348 | ### Element annotation |
| 349 | 349 | ||
| 350 | Zero or more annotation elements may be specified as children of a | 350 | Zero or more annotation elements may be specified as children of a |
| 351 | project element. Each element describes a name-value pair that will be | 351 | project or remote element. Each element describes a name-value pair. |
| 352 | exported into each project's environment during a 'forall' command, | 352 | For projects, this name-value pair will be exported into each project's |
| 353 | prefixed with REPO__. In addition, there is an optional attribute | 353 | environment during a 'forall' command, prefixed with `REPO__`. In addition, |
| 354 | "keep" which accepts the case insensitive values "true" (default) or | 354 | there is an optional attribute "keep" which accepts the case insensitive values |
| 355 | "false". This attribute determines whether or not the annotation will | 355 | "true" (default) or "false". This attribute determines whether or not the |
| 356 | be kept when exported with the manifest subcommand. | 356 | annotation will be kept when exported with the manifest subcommand. |
| 357 | 357 | ||
| 358 | ### Element copyfile | 358 | ### Element copyfile |
| 359 | 359 | ||
