root_config = trees[settings['ROOT']]['root_config']
vardb = root_config.trees['vartree'].dbapi
- args_set = InternalPackageSet()
+ args_set = InternalPackageSet(allow_repo=True)
if myfiles:
args_set.update(myfiles)
matched_packages = False
# Ensure atoms are valid before calling unmerge().
# For backward compat, leading '=' is not required.
for x in files:
- if is_valid_package_atom(x) or \
+ if is_valid_package_atom(x, allow_repo=True) or \
(ignore_missing_eq and is_valid_package_atom('=' + x)):
try:
mydep = orig_dep[:alphanum.start()] + "null/" + \
orig_dep[alphanum.start():]
try:
- mydep = Atom(mydep)
+ mydep = Atom(mydep, allow_repo=True)
except InvalidAtom:
# Missing '=' prefix is allowed for backward compatibility.
- if not isvalidatom("=" + mydep):
+ if not isvalidatom("=" + mydep, allow_repo=True):
raise
- mydep = Atom('=' + mydep)
+ mydep = Atom('=' + mydep, allow_repo=True)
orig_dep = '=' + orig_dep
if not has_cat:
null_cat, pn = catsplit(mydep.cp)