Mercurial > hg-stable
diff tests/test-phases.t @ 28770:97c8da2f89f9
chgserver: change random state after fork
Before this patch, extensions expecting a different random state per command
will break since the chg request handler will inherit a same random state
from the parent daemon process.
This patch addresses the issue by calling random.seed() after fork.
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 04 Apr 2016 01:59:57 +0100 |
parents | 6084926366b9 |
children | 6afd8a87a657 |