Mercurial > hg-stable
changeset 29595:2c4dc91c4c54
chgserver: use ui.debug() to print server debug messages
commandserver.log() is noop at this time because no client connection is
established.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 May 2016 18:15:20 +0900 |
parents | e417664a3339 |
children | 71c197d82b7e |
files | hgext/chgserver.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/chgserver.py Sun Jun 05 12:18:20 2016 +0900 +++ b/hgext/chgserver.py Sat May 21 18:15:20 2016 +0900 @@ -582,10 +582,10 @@ def shouldexit(self): if not self.issocketowner(): - _log('%s is not owned, exiting.\n' % self.address) + self.ui.debug('%s is not owned, exiting.\n' % self.address) return True if time.time() - self.lastactive > self.idletimeout: - _log('being idle too long. exiting.\n') + self.ui.debug('being idle too long. exiting.\n') return True return False