Fix use of reset_tree.
This commit is contained in:
parent
0b9077f964
commit
3e63179616
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ def build_incrementally(
|
||||||
if max_iterations is not None and len(fixed_errors) > max_iterations:
|
if max_iterations is not None and len(fixed_errors) > max_iterations:
|
||||||
logging.warning("Last fix did not address the issue. Giving up.")
|
logging.warning("Last fix did not address the issue. Giving up.")
|
||||||
raise
|
raise
|
||||||
reset_tree(local_tree, local_tree.basis_tree(), subpath=subpath)
|
reset_tree(local_tree, subpath=subpath)
|
||||||
if e.phase[0] == "build":
|
if e.phase[0] == "build":
|
||||||
context = BuildDependencyContext(
|
context = BuildDependencyContext(
|
||||||
e.phase,
|
e.phase,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue