equal
deleted
inserted
replaced
3 # Copyright 2008 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2008 Matt Mackall <mpm@selenic.com> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
8 from i18n import _ |
8 from __future__ import absolute_import |
9 import scmutil, util, parsers, error |
9 |
10 import os, stat, errno |
10 import errno |
|
11 import os |
|
12 import stat |
|
13 |
|
14 from .i18n import _ |
|
15 from . import ( |
|
16 error, |
|
17 parsers, |
|
18 scmutil, |
|
19 util, |
|
20 ) |
11 |
21 |
12 _sha = util.sha1 |
22 _sha = util.sha1 |
13 |
23 |
14 # This avoids a collision between a file named foo and a dir named |
24 # This avoids a collision between a file named foo and a dir named |
15 # foo.i or foo.d |
25 # foo.i or foo.d |