This is an archive of the discontinued Mercurial Phabricator instance.

merge: use vfs methods for I/O
ClosedPublic

Authored by indygreg on Sep 4 2018, 6:56 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Commits
rHG3dd34b401bc2: merge: use vfs methods for I/O
Summary

All I/O is supposed to be performed via vfs instances so filesystems
can be abstracted. The previous commit ported the old code in purge,
which didn't go through the vfs layer. This commit ports the purge
code to use the vfs layer.

The vfs layer didn't have a method to remove a single directory, so
it was added as part of implementing this.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Sep 4 2018, 6:56 PM
indygreg updated this revision to Diff 10826.Sep 6 2018, 9:33 PM
This revision was automatically updated to reflect the committed changes.