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

Authored by martinvonz on Sat, May 11, 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.
martinvonz created this revision.Sat, May 11, 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.