upgrade_engine.upgrade() always return the backuppath value and there are
not early returns. Hence I don't see how backuppath can be None.
Adding extra unncessary safe checks hides unknown bugs. Hence removing it.
mharbison72 |
hg-reviewers |
upgrade_engine.upgrade() always return the backuppath value and there are
not early returns. Hence I don't see how backuppath can be None.
Adding extra unncessary safe checks hides unknown bugs. Hence removing it.
No Linters Available |
No Unit Test Coverage |
For now, upgrade_engine.upgrade always does something. IOW, if we run hg debugupgraderepo --run, even if there is nothing to upgrade, we process everything. This will be fixed in an upcoming patch.