abcxyz / abc

Apache License 2.0
12 stars 3 forks source link

feat: detect previous unmerged files and abort upgrade #499

Closed drevell closed 7 months ago

drevell commented 7 months ago

This is similar to how git won't let you proceed until you resolve merge conflicts. When an upgrade operation begins, we look for any *.abcmerge_* files that would indicate that there was a previous upgrade operation that still needs to be manually resolved. If we were to ignore this and upgrade anyway, the user would likely be incredibly confused, and that would be bad.