Mercurial > hg
comparison tests/test-clone-pull-corruption.t @ 26184:327d09f0b5d4
exchange: allow fallbackheads to use lazy set behavior
The common ancestor set implementation was made lazy a couple years ago, but
this piece of code still required processing the entire repo by putting set()
around the lazy set. The code was introduced in 5653f2d166ea, a year before the
lazy ancestor set was added.
Dropping the set() shaves 3.5 seconds off of 'push -r' in repos with hundreds of
thousands of commits.
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 07 Sep 2015 17:08:35 -0700 |
parents | b2c1ff96c1e1 |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
26183:bf1b24785f13 | 26184:327d09f0b5d4 |
---|