can find a match for old atom name, warn about that.
"""
matches = vardb.match(atoma)
+ if not matches:
+ matches = vardb.match(atomb)
if matches and \
repo_match(vardb.aux_get(best(matches), ['repository'])[0]):
if portdb.match(atoma):
if moves:
writemsg_stdout(moves * "S")
+ if world_modified:
+ world_list.sort()
+ write_atomic(world_file,
+ "".join("%s\n" % (x,) for x in world_list))
+ if world_warnings:
+ # XXX: print warning that we've updated world entries
+ # and the old name still matches something (from an overlay)?
+ pass
+
if retupd:
def _config_repo_match(repo_name, atoma, atomb):
writemsg_stdout(bold(_("Note: This can take a very long time.")))
writemsg_stdout("\n")
- if world_modified:
- world_list.sort()
- write_atomic(world_file,
- "".join("%s\n" % (x,) for x in world_list))
- if world_warnings:
- # XXX: print warning that we've updated world entries
- # and the old name still matches something (from an overlay)?
- pass
-
return retupd