comparison mercurial/hgweb.py @ 575:7f5ce4bbdd7b

More whitespace cleanups -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 More whitespace cleanups manifest hash: 6721a7b11295e0127386b080fd7a7b516ebced74 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxwm/ywK+sNU5EO8RAnl+AKCg/7ZCW7zIoG0nefksZzgLzgNmFACgnAFz ZkW0LyZcU/hkFgXoGwo7ktk= =AW+0 -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sat, 02 Jul 2005 13:40:15 -0800
parents cb7cd12e00f1
children df8a5a0098d4
comparison
equal deleted inserted replaced
574:af7e21f3b2d9 575:7f5ce4bbdd7b
1 # hgweb.py - web interface to a mercurial repository 1 # hgweb.py - web interface to a mercurial repository
2 # 2 #
3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net> 3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
4 # Copyright 2005 Matt Mackall <mpm@selenic.com> 4 # Copyright 2005 Matt Mackall <mpm@selenic.com>
5 # 5 #
6 # This software may be used and distributed according to the terms 6 # This software may be used and distributed according to the terms
7 # of the GNU General Public License, incorporated herein by reference. 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 import os, cgi, time, re, difflib, sys, zlib 9 import os, cgi, time, re, difflib, sys, zlib
655 try: 655 try:
656 hi = self.repo.changelog.rev(self.repo.lookup(hi)) 656 hi = self.repo.changelog.rev(self.repo.lookup(hi))
657 except KeyError: 657 except KeyError:
658 write(self.search(hi)) 658 write(self.search(hi))
659 return 659 return
660 660
661 write(self.changelog(hi)) 661 write(self.changelog(hi))
662 662
663 elif args['cmd'][0] == 'changeset': 663 elif args['cmd'][0] == 'changeset':
664 write(self.changeset(args['node'][0])) 664 write(self.changeset(args['node'][0]))
665 665