This is an archive of the discontinued Mercurial Phabricator instance.

context: move contents of committablectx.markcommitted() to workingctx
ClosedPublic

Authored by martinvonz on May 11 2019, 2:11 AM.

Details

Summary

Same reasoning as previous commits: this function updates the
dirstate. By not updating the dirstate here, we also fix the
close-head test.

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.May 11 2019, 2:11 AM
durin42 added inline comments.
mercurial/context.py
1228–1229

Nit: this pass isn't needed. I'll fix in flight.

This revision was automatically updated to reflect the committed changes.