[PATCH 1 of 5] chgserver: add an explicit "reconnect" instruction to validate

Yuya Nishihara yuya at tcha.org
Wed Mar 16 10:55:22 EDT 2016


On Mon, 14 Mar 2016 20:33:47 +0000, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1457963313 0
> #      Mon Mar 14 13:48:33 2016 +0000
> # Node ID 53123f439567931902cf37c609d275243e9226fe
> # Parent  dfb21c34e07dfeeccb9be6197ad15733ee53a48e
> chgserver: add an explicit "reconnect" instruction to validate

Pushed the first two to the clowncopter, thanks.

>          if newhash.confighash != self.hashstate.confighash:
>              addr = _hashaddress(self.baseaddress, newhash.confighash)
>              insts.append('redirect %s' % addr)
> -        _log('validate: %s\n' % insts)
>          self.cresult.write('\0'.join(insts) or '\0')

Removing _log() seems unrelated. I've dropped this hunk.


More information about the Mercurial-devel mailing list