comparison hgext/hgk.py @ 28262:53dc4aada2d9

chgserver: add utilities to calculate confighash confighash is the hash of sensitive config items like [extensions], and sensitive environment variables like HG*, LD_*, etc. The config items can come from global, user, repo config, and command line flags. For chgserver, it is designed that once confighash changes, the server is not qualified to serve its client and should redirect the client to a new server. The server does not need to exit in this case, since it can still be valid (have a matched confighash) to serve other chg clients.
author Jun Wu <quark@fb.com>
date Fri, 26 Feb 2016 14:50:04 +0000
parents 084957666642
children 9b12517a7081
comparison
equal deleted inserted replaced
28261:2ab59ac06b76 28262:53dc4aada2d9