Show More
@@ -624,7 +624,7 b' class hgweb:' | |||||
624 |
|
624 | |||
625 | if not args.has_key('cmd'): |
|
625 | if not args.has_key('cmd'): | |
626 | args['cmd'] = [self.t.cache['default'],] |
|
626 | args['cmd'] = [self.t.cache['default'],] | |
627 |
|
627 | |||
628 | if args['cmd'][0] == 'changelog': |
|
628 | if args['cmd'][0] == 'changelog': | |
629 | c = self.repo.changelog.count() - 1 |
|
629 | c = self.repo.changelog.count() - 1 | |
630 | hi = c |
|
630 | hi = c | |
@@ -720,7 +720,7 b' def create_server(path, name, templates,' | |||||
720 | errorlog.write("%s - - [%s] %s\n" % (self.address_string(), |
|
720 | errorlog.write("%s - - [%s] %s\n" % (self.address_string(), | |
721 | self.log_date_time_string(), |
|
721 | self.log_date_time_string(), | |
722 | format % args)) |
|
722 | format % args)) | |
723 |
|
723 | |||
724 | def log_message(self, format, *args): |
|
724 | def log_message(self, format, *args): | |
725 | accesslog.write("%s - - [%s] %s\n" % (self.address_string(), |
|
725 | accesslog.write("%s - - [%s] %s\n" % (self.address_string(), | |
726 | self.log_date_time_string(), |
|
726 | self.log_date_time_string(), |
General Comments 0
You need to be logged in to leave comments.
Login now