make ignore-file-conflicts actually work...
This commit is contained in:
@@ -160,6 +160,7 @@ in the respective order to satisfy extra dependencies:
|
|||||||
if ctx.config.get_option('debug'):
|
if ctx.config.get_option('debug'):
|
||||||
G_f.write_graphviz(sys.stdout)
|
G_f.write_graphviz(sys.stdout)
|
||||||
order = G_f.topological_sort()
|
order = G_f.topological_sort()
|
||||||
|
if not ctx.get_option('ignore_file_conflicts'):
|
||||||
check_conflicts(order, packagedb)
|
check_conflicts(order, packagedb)
|
||||||
order.reverse()
|
order.reverse()
|
||||||
ctx.ui.info(_('Installation order: ') + util.strlist(order) )
|
ctx.ui.info(_('Installation order: ') + util.strlist(order) )
|
||||||
@@ -355,6 +356,7 @@ def plan_install_pkg_names(A):
|
|||||||
G_f.write_graphviz(sys.stdout)
|
G_f.write_graphviz(sys.stdout)
|
||||||
order = G_f.topological_sort()
|
order = G_f.topological_sort()
|
||||||
order.reverse()
|
order.reverse()
|
||||||
|
if not ctx.get_option('ignore_file_conflicts'):
|
||||||
check_conflicts(order, ctx.packagedb)
|
check_conflicts(order, ctx.packagedb)
|
||||||
return G_f, order
|
return G_f, order
|
||||||
|
|
||||||
@@ -519,6 +521,7 @@ def plan_upgrade(A, ignore_build = False):
|
|||||||
G_f.write_graphviz(sys.stdout)
|
G_f.write_graphviz(sys.stdout)
|
||||||
order = G_f.topological_sort()
|
order = G_f.topological_sort()
|
||||||
order.reverse()
|
order.reverse()
|
||||||
|
if not ctx.get_option('ignore_file_conflicts'):
|
||||||
check_conflicts(order, ctx.packagedb)
|
check_conflicts(order, ctx.packagedb)
|
||||||
return G_f, order
|
return G_f, order
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user