Mercurial > hg
comparison tests/test-relink.t @ 20833:47d43e2323c5
revset: fix generatorset race condition
If two things were iterating over a generatorset at the same time, they could
miss out on the things the other was generating, resulting in incomplete
results. This fixes it by making it possible for two things to iterate at once,
by always checking the _genlist at the beginning of each iteration.
I was only able to repro it with pending changes from my other commits, but they
aren't ready yet. So I'm unable to add a test for now.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 25 Mar 2014 16:10:07 -0700 |
parents | 8aeb2f1ae94c |
children | 7a9cbb315d84 |
comparison
equal
deleted
inserted
replaced
20832:5d57b2101ab1 | 20833:47d43e2323c5 |
---|