diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-15 00:27:09 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-15 00:27:09 -0700 |
commit | 9f29682eb4429e5b2ac7cbb54361fb24092ab0fd (patch) | |
tree | d39e9de14112f064b646e6d9d20fc9f075e8542d /bin | |
parent | d36cba7fdd5b9663aa10e0f701ae7ca0ee933a70 (diff) | |
download | portage-9f29682eb4429e5b2ac7cbb54361fb24092ab0fd.tar.gz portage-9f29682eb4429e5b2ac7cbb54361fb24092ab0fd.tar.bz2 portage-9f29682eb4429e5b2ac7cbb54361fb24092ab0fd.zip |
Bug #337180 - Add a --unmatched-removal option for stricter checking
of package.mask and package.unmask files for unmatched removal atoms.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman index 70e7cdaf2..1f7b21bce 100755 --- a/bin/repoman +++ b/bin/repoman @@ -216,6 +216,9 @@ def ParseArgs(argv, qahelp): parser.add_option('-d', '--include-dev', dest='include_dev', action='store_true', default=False, help='include dev profiles in dependency checks') + parser.add_option('--unmatched-removal', dest='unmatched_removal', action='store_true', + default=False, help='enable strict checking of package.mask and package.unmask files for unmatched removal atoms') + parser.add_option('--without-mask', dest='without_mask', action='store_true', default=False, help='behave as if no package.mask entries exist (not allowed with commit mode)') @@ -1818,6 +1821,7 @@ for x in scanlist: config_profile_path=prof.abs_path, config_incrementals=repoman_incrementals, local_config=False, + _unmatched_removal=options.unmatched_removal, env=env) if options.without_mask: dep_settings._mask_manager = \ |