Mercurial > hg-stable
diff tests/test-mq-symlinks.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 | 4d2b9b304ad0 |
children | c2380b448265 |