Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/webcommands.py @ 5960:06467b51ab9c
webcommands: add missing hg import
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 26 Jan 2008 22:44:27 +0100 |
parents | 15ef6b9c1f2f |
children | 5be210afe1b8 |
comparison
equal
deleted
inserted
replaced
5959:0162c6cc045e | 5960:06467b51ab9c |
---|---|
4 # | 4 # |
5 # This software may be used and distributed according to the terms | 5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. | 6 # of the GNU General Public License, incorporated herein by reference. |
7 | 7 |
8 import os, mimetypes | 8 import os, mimetypes |
9 from mercurial import revlog, util | 9 from mercurial import revlog, util, hg |
10 from common import staticfile, ErrorResponse | 10 from common import staticfile, ErrorResponse |
11 | 11 |
12 def log(web, req, tmpl): | 12 def log(web, req, tmpl): |
13 if 'file' in req.form and req.form['file'][0]: | 13 if 'file' in req.form and req.form['file'][0]: |
14 filelog(web, req, tmpl) | 14 filelog(web, req, tmpl) |