Mercurial > hg
changeset 4505:0ca5ef554987
Fix bug in "hg serve -v"
author | Joel Rosdahl <joel@rosdahl.net> |
---|---|
date | Mon, 04 Jun 2007 21:49:01 +0200 |
parents | c68e6486f295 |
children | 9f952dd4413b |
files | mercurial/commands.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jun 04 21:48:59 2007 +0200 +++ b/mercurial/commands.py Mon Jun 04 21:49:01 2007 +0200 @@ -2411,11 +2411,11 @@ if not ui.verbose: return - if httpd.port != 80: + if self.httpd.port != 80: ui.status(_('listening at http://%s:%d/\n') % - (httpd.addr, httpd.port)) + (self.httpd.addr, self.httpd.port)) else: - ui.status(_('listening at http://%s/\n') % httpd.addr) + ui.status(_('listening at http://%s/\n') % self.httpd.addr) def run(self): self.httpd.serve_forever()