( )⚙ D9985 softstrip: fix a reference to an undefined variable

This is an archive of the discontinued Mercurial Phabricator instance.

softstrip: fix a reference to an undefined variable
ClosedPublic

Authored by martinvonz on Feb 11 2021, 5:37 PM.

Details

Summary

backupfile wasn't defined if no backup was requested. Let's set it
to None by default, which matches what regular repair.strip()
does.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

martinvonz created this revision.Feb 11 2021, 5:37 PM
pulkit accepted this revision.Feb 14 2021, 10:14 AM
This revision is now accepted and ready to land.Feb 14 2021, 10:14 AM
This revision was automatically updated to reflect the committed changes.