D5594: copies: consider nullrev a common ancestor

Yuya Nishihara yuya at tcha.org
Fri Jan 18 09:00:47 EST 2019


>   There are definitely repositories in the wild where p1 is nullrev (and p2 is not). It's unusual but expressable so, of course, it happened.
>   
>   For that matters, there is also case with nullrev != p1 && p1 == p2.

Well, I think it should be considered a sort of corruption. context.py for
example would go wrong.

Maybe we can add some check to "hg verify".


More information about the Mercurial-devel mailing list