This is an archive of the discontinued Mercurial Phabricator instance.

graft: use cmdstate.delete() to delete the state file
ClosedPublic

Authored by pulkit on May 25 2018, 2:55 PM.

Details

Summary

Previous patches start using state.cmdstate() class for statefiles. The class
has a function delete() to delete the state file. This patch replaces the
existing repo.vfs.unlink() with that delete() function.

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

pulkit created this revision.May 25 2018, 2:55 PM
martinvonz accepted this revision.May 25 2018, 3:14 PM
This revision is now accepted and ready to land.May 25 2018, 3:14 PM
This revision was automatically updated to reflect the committed changes.