comparison mercurial/hgweb/common.py @ 3877:abaee83ce0a6

Replace demandload with new demandimport
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Dec 2006 13:27:09 -0600
parents c0b449154a90
children 5ae460b1f6f0
comparison
equal deleted inserted replaced
3876:1e0b94cfba0e 3877:abaee83ce0a6
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, mimetypes 9 import os, mimetypes
10 import os.path
11 10
12 def get_mtime(repo_path): 11 def get_mtime(repo_path):
13 store_path = os.path.join(repo_path, ".hg") 12 store_path = os.path.join(repo_path, ".hg")
14 if not os.path.isdir(os.path.join(store_path, "data")): 13 if not os.path.isdir(os.path.join(store_path, "data")):
15 store_path = os.path.join(store_path, "store") 14 store_path = os.path.join(store_path, "store")