Commit 9f071f14 authored by Lorenz Hüdepohl's avatar Lorenz Hüdepohl
Browse files

Put obsolete repositories to the end

parent be5fb0eb
Pipeline #97888 passed with stage
in 10 seconds
......@@ -839,8 +839,16 @@ Macros:
new_prj = ElementTree.tostring(root, encoding=osc.core.ET_ENCODING)
for name in sorted(prjconf_repos.keys()):
prjconf_ours.extend(prjconf_repos[name])
if name not in old_repos:
prjconf_ours.extend(prjconf_repos[name])
prjconf_ours.append("")
if not remove_old:
prjconf_ours.append("# Obsolete repos: ")
prjconf_ours.append("")
for name in sorted(old_repos):
prjconf_ours.extend(prjconf_repos[name])
prjconf_ours.append("")
prjconf_ours.append(prjconf_end_marker)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment