repo diffmanifests manifest1.xml [manifest2.xml] [options]
Manifest diff utility
- -h, --help
show this help message and exit
display raw diff
does not display the diff in color
print the log using a custom git pretty format string
- -v, --verbose
show all output
- -q, --quiet
only show errors
Run `repo help diffmanifests` to view the detailed manual.
The repo diffmanifests command shows differences between project revisions of manifest1 and manifest2. if manifest2 is not specified, current manifest.xml will be used instead. Both absolute and relative paths may be used for manifests. Relative paths start from project's ".repo/manifests" folder.
The --raw option Displays the diff in a way that facilitates parsing, the project pattern will be <status> <path> <revision from> [<revision to>] and the commit pattern will be <status> <onelined log> with status values respectively :
A = Added project R = Removed project C = Changed project U = Project with unreachable revision(s) (revision(s) not found)
for project, and
A = Added commit R = Removed commit
for a commit.
Only changed projects may contain commits, and commit status always starts with a space, and are part of last printed project. Unreachable revisions may occur if project is not up to date or if repo has not been initialized with all the groups, in which case some projects won't be synced and their revisions won't be found.