This is an archive of the discontinued Mercurial Phabricator instance.

revlog: guarantee that p1 != null if a non-null parent exists
ClosedPublic

Authored by joerg.sonnenberger on Mar 10 2021, 12:09 PM.

Details

Summary

This change does not affect the hashing (which already did this
transformation), but can change the log output in the rare case where
this behavior was observed in repositories. The change can simplify
iteration code where regular changesets and merges are distinct
branches.

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.