diff hgext/shelve.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 983365382465
children 96a7368a79b6
line wrap: on
line diff