tests: add test demonstrating phase loss when cloning (issue5939)
ClosedPublic

Authored by indygreg on Wed, Jul 11, 8:15 PM.

Details

Summary

The added tests demonstrate that phases exchange when using the
listkeys based phases exchange fails to preserve public phase in
a certain scenario when a merge is a phase root. Both non-bundle2
and bundle2 prior to the binary phase data part are buggy.

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.
indygreg created this revision.Wed, Jul 11, 8:15 PM

I don't understand phases code that well and am not sure if I'll be able to contribute a fix for the underlying issue in the next few days. If someone wants to take a shot at it, I could use the help.

CC @lothiraldan

This revision was automatically updated to reflect the committed changes.