From 5acde75e5d70b323197ffb2c9d4fdea3612098f5 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 28 Mar 2012 20:15:45 -0700 Subject: Add manifest groups 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 Tested-by: Shawn Pearce --- docs/manifest-format.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') 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: + @@ -158,6 +159,10 @@ Tags and/or explicit SHA-1s should work in theory, but have not been extensively tested. If not supplied the revision given by the default element is used. +Attribute `groups`: List of groups to which this project belongs, +whitespace or comma separated. All projects are part of the group +"default" unless "-default" is specified in the list of groups. + Element remove-project ---------------------- -- cgit v1.2.3-54-g00ecf