[PATCH 01 of 10] chgserver: mangle server address to include confighash

Yuya Nishihara yuya at tcha.org
Thu Mar 3 11:23:17 EST 2016


On Wed, 2 Mar 2016 10:44:03 +0000, Jun Wu wrote:
> +    def _createsymlink(self):
> +        if self.baseaddress == self.address:
> +            return
> +        tempaddress = _tempaddress(self.baseaddress)
> +        os.symlink(self.address, tempaddress)

FWIW, I prefer making a symlink of relative path to make sure it never escapes
from the socket directory.


More information about the Mercurial-devel mailing list