Mercurial > hg
comparison hgext/fetch.py @ 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 | 80c5b2666a96 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
26183:bf1b24785f13 | 26184:327d09f0b5d4 |
---|