##// END OF EJS Templates
Fix bug in "hg serve -v"
Joel Rosdahl -
r4505:0ca5ef55 default
parent child Browse files
Show More
@@ -2411,11 +2411,11 b' def serve(ui, repo, **opts):'
2411
2411
2412 if not ui.verbose: return
2412 if not ui.verbose: return
2413
2413
2414 if httpd.port != 80:
2414 if self.httpd.port != 80:
2415 ui.status(_('listening at http://%s:%d/\n') %
2415 ui.status(_('listening at http://%s:%d/\n') %
2416 (httpd.addr, httpd.port))
2416 (self.httpd.addr, self.httpd.port))
2417 else:
2417 else:
2418 ui.status(_('listening at http://%s/\n') % httpd.addr)
2418 ui.status(_('listening at http://%s/\n') % self.httpd.addr)
2419
2419
2420 def run(self):
2420 def run(self):
2421 self.httpd.serve_forever()
2421 self.httpd.serve_forever()
General Comments 0
You need to be logged in to leave comments. Login now