equal
deleted
inserted
replaced
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") |