This is an archive of the discontinued Mercurial Phabricator instance.

overlayworkingctx: add `_checkexist(path)`
ClosedPublic

Authored by phillco on Oct 26 2017, 12:48 AM.

Details

Summary

This is in preparation to switch this class to inheriting (and being based off
a) commitctx instead of a workingctx. filectx has no exists function,
so this is how we'll fall back in that case.

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

phillco updated this revision to Diff 4183.Dec 7 2017, 4:22 PM
durin42 accepted this revision.Dec 7 2017, 4:35 PM
This revision is now accepted and ready to land.Dec 7 2017, 4:35 PM
phillco updated this revision to Diff 4202.Dec 7 2017, 4:44 PM
This revision was automatically updated to reflect the committed changes.