annotate hgweb.cgi @ 270:5a80ed2158c8
Reverse order of hg log and hg history lists
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Reverse order of hg log and hg history lists
Suggested by Arun Sharma
manifest hash: 5f663a03e7ace601383c7291a17f83c9aeeccdda
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCpVXDywK+sNU5EO8RApeOAJsFXG0qeO+yidIwyPrBHSmDMaKfdwCeMAWl
uClUZxGNburRXmNLLAPHk9k=
=1ytE
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Tue, 07 Jun 2005 00:07:31 -0800 |
parents |
e875a0cf7f3a |
children |
5f65a108a559 |
rev |
line source |
202
|
1 #!/usr/bin/env python
|
159
|
2 #
|
|
3 # An example CGI script to use hgweb, edit as necessary
|
|
4
|
|
5 import cgitb, os, sys
|
|
6 # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
|
|
7 from mercurial import hgweb
|
|
8
|
|
9 h = hgweb.hgweb("/path/to/repo", "repository name")
|
|
10 h.run()
|