[PATCH evolve-ext] touch: make sure the new noise number is different from the old one
Jun Wu
quark at fb.com
Fri Apr 1 21:15:59 EDT 2016
On 04/02/2016 02:09 AM, Jun Wu wrote:
> + noise += random.randint(1, 0xffffffff) & 0xffffffff
Sorry but I was sleepy writing this. This line is intended to be:
noise = (noise + random.randint(1, 0xffffffff)) & 0xffffffff
Or if we don't care about the length of "extra":
noise += random.randint(1, 0xffffffff)
More information about the Mercurial-devel
mailing list