git-repo/subcmds
Basil Gello c745350ab9 diffmanifests: honor user-supplied manifest paths
The current implementation ignores the user-specified paths to
manifests.  if the "repo diffmanifests" is invoked with absolute
file paths for one or both manifests, the command fails with message:

fatal: duplicate path ... in /tmp/manifest-old.xml

Also the current implementation fails to expand the absolute path to
manifest files if "repo diffmanifests" is invoked with relative
paths, i.e "repo diffmanifests manifest-old.xml manifest-new.xml".

fatal: manifest manifest-old.xml not found

This commit fixes the first issue by disabling the local manifest
discovery for diffmanifests command, and the second issue by
expanding paths to manifests within "diffmanifests" sub-command.

Test: repo manifest --revision-as-HEAD -o /tmp/manifest-old.xml
      repo sync
      repo manifest --revision-as-HEAD -o /tmp/manifest-new.xml
      repo diffmanifests /tmp/manifest-old.xml /tmp/manifest-new.xml
Change-Id: Ia125d769bfbea75adb9aba81abbd8c636f2168d4
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2019-06-06 07:36:10 +00:00
..
__init__.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
abandon.py abandon: fix usage of undefined variable 2017-05-26 21:52:23 +09:00
branches.py update markdown/help header format 2018-10-10 01:28:43 -04:00
checkout.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
cherry_pick.py Fix 'repo cherry-pick' to avoid hanging on commit-msg update. 2015-06-22 08:00:20 -04:00
diff.py Option for 'repo diff' to generate output suitable for 'patch' cmd 2012-04-13 09:20:10 -07:00
diffmanifests.py diffmanifests: honor user-supplied manifest paths 2019-06-06 07:36:10 +00:00
download.py Pass refs to ls-remote 2018-03-24 13:00:08 +05:30
forall.py update markdown/help header format 2018-10-10 01:28:43 -04:00
gitc_delete.py Remove unused pylint suppressions 2018-07-24 22:20:08 +08:00
gitc_init.py Fix gitc-init behavior 2015-10-07 15:43:22 -07:00
grep.py update markdown/help header format 2018-10-10 01:28:43 -04:00
help.py update markdown/help header format 2018-10-10 01:28:43 -04:00
info.py info: Use the non-formatting printer for headtext 2019-04-17 19:46:05 +02:00
init.py Honor --depth during repo init 2019-05-21 10:47:21 -06:00
list.py Support filtering by group on forall and list subcmd 2015-07-30 12:59:35 -05:00
manifest.py manifest-format: convert to markdown 2018-10-05 19:32:51 -04:00
overview.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
prune.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
rebase.py Add option to rebase onto project's manifest version 2016-01-28 10:20:03 -08:00
selfupdate.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
smartsync.py Clean up imports 2012-09-18 09:54:57 +02:00
stage.py Fix "list comprehension redefines 'x'" warnings from pyflakes 2017-07-10 23:26:04 +00:00
start.py When starting a branch, do not use a tag or change value for branch.merge 2017-08-25 09:10:29 +09:00
status.py Add support for long paths 2018-10-22 08:16:35 -07:00
sync.py sync: deleted unused repos in reversed order (children before parent) 2019-04-06 00:49:47 +08:00
upload.py Add option for git-repo to support 'silent' uploads 2018-11-05 14:01:05 -08:00
version.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00