D4003: index: write expression for encoded revision index consistently
Yuya Nishihara
yuya at tcha.org
Thu Aug 2 08:54:40 EDT 2018
> - n->children[k] = -rev - 1;
> + n->children[k] = -(rev + 1);
This is technically less correct since (MAX_INT + 1) overflows, but maybe
we don't care?
More information about the Mercurial-devel
mailing list