This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by indygreg on Jul 11 2018, 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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Jul 11 2018, 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.