mercurial/hgweb/common.py
changeset 3877 abaee83ce0a6
parent 3853 c0b449154a90
child 4038 5ae460b1f6f0
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")