This is an archive of the discontinued Mercurial Phabricator instance.

graft: never set both parents equal in the dirstate (issue6098)
ClosedPublic

Authored by martinvonz on Dec 5 2019, 1:03 PM.

Details

Summary

merge.graft() can set both parents equal in the dirstate when
keepparent=True. We don't seem to set that in core, but the evolve
extension does use it. So I couldn't figure out a way to add a test
for this patch in core.

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.