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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.