diff options
author | Colin Cross <ccross@android.com> | 2012-03-28 20:15:45 -0700 |
---|---|---|
committer | Shawn Pearce <sop@google.com> | 2012-04-13 09:46:00 -0700 |
commit | 5acde75e5d70b323197ffb2c9d4fdea3612098f5 (patch) | |
tree | e995a64614ce7406633ae6e99c2a0e6f86872e09 /docs/manifest-format.txt | |
parent | d67872d2f47b2f09a0e2aa4adfd62e6f69154c9b (diff) | |
download | git-repo-5acde75e5d70b323197ffb2c9d4fdea3612098f5.tar.gz |
Add manifest groupsv1.8.2
Allows specifying a list of groups with a -g argument to repo init.
The groups act on a group= attribute specified on projects in the
manifest.
All projects are implicitly labelled with "default" unless they are
explicitly labelled "-default".
Prefixing a group with "-" removes matching projects from the list
of projects to sync.
If any non-inverted manifest groups are specified, the default label
is ignored.
Change-Id: I3a0dd7a93a8a1756205de1d03eee8c00906af0e5
Reviewed-on: https://gerrit-review.googlesource.com/34570
Reviewed-by: Shawn Pearce <sop@google.com>
Tested-by: Shawn Pearce <sop@google.com>
Diffstat (limited to 'docs/manifest-format.txt')
-rw-r--r-- | docs/manifest-format.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index 21f19db6..a7bb1561 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -48,6 +48,7 @@ following DTD: | |||
48 | <!ATTLIST project path CDATA #IMPLIED> | 48 | <!ATTLIST project path CDATA #IMPLIED> |
49 | <!ATTLIST project remote IDREF #IMPLIED> | 49 | <!ATTLIST project remote IDREF #IMPLIED> |
50 | <!ATTLIST project revision CDATA #IMPLIED> | 50 | <!ATTLIST project revision CDATA #IMPLIED> |
51 | <!ATTLIST project groups CDATA #IMPLIED> | ||
51 | 52 | ||
52 | <!ELEMENT remove-project (EMPTY)> | 53 | <!ELEMENT remove-project (EMPTY)> |
53 | <!ATTLIST remove-project name CDATA #REQUIRED> | 54 | <!ATTLIST remove-project name CDATA #REQUIRED> |
@@ -158,6 +159,10 @@ Tags and/or explicit SHA-1s should work in theory, but have not | |||
158 | been extensively tested. If not supplied the revision given by | 159 | been extensively tested. If not supplied the revision given by |
159 | the default element is used. | 160 | the default element is used. |
160 | 161 | ||
162 | Attribute `groups`: List of groups to which this project belongs, | ||
163 | whitespace or comma separated. All projects are part of the group | ||
164 | "default" unless "-default" is specified in the list of groups. | ||
165 | |||
161 | Element remove-project | 166 | Element remove-project |
162 | ---------------------- | 167 | ---------------------- |
163 | 168 | ||