diff -r 41b344235bb7 -r c333dfa8fa1a mercurial/hgweb.py --- a/mercurial/hgweb.py Mon Aug 08 19:49:34 2005 -0800 +++ b/mercurial/hgweb.py Mon Aug 08 19:49:48 2005 -0800 @@ -622,7 +622,10 @@ "footer":footer, }) - if not args.has_key('cmd') or args['cmd'][0] == 'changelog': + if not args.has_key('cmd'): + args['cmd'] = [self.t.cache['default'],] + + if args['cmd'][0] == 'changelog': c = self.repo.changelog.count() - 1 hi = c if args.has_key('rev'):