Mercurial > hg
comparison mercurial/context.py @ 27506:e6d3dad71e44
context: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Dec 2015 21:51:31 -0800 |
parents | 15c6eb0a51bd |
children | b502138f5faa |
comparison
equal
deleted
inserted
replaced
27505:071af8d385a9 | 27506:e6d3dad71e44 |
---|---|
3 # Copyright 2006, 2007 Matt Mackall <mpm@selenic.com> | 3 # Copyright 2006, 2007 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 __future__ import absolute_import | |
9 | |
10 import errno | |
11 import os | |
8 import re | 12 import re |
9 | 13 import stat |
10 from node import nullid, nullrev, wdirid, short, hex, bin | 14 |
11 from i18n import _ | 15 from .i18n import _ |
12 import mdiff, error, util, scmutil, subrepo, patch, encoding, phases | 16 from .node import ( |
13 import match as matchmod | 17 bin, |
14 import os, errno, stat | 18 hex, |
15 import obsolete as obsmod | 19 nullid, |
16 import repoview | 20 nullrev, |
17 import fileset | 21 short, |
18 import revlog | 22 wdirid, |
23 ) | |
24 from . import ( | |
25 encoding, | |
26 error, | |
27 fileset, | |
28 match as matchmod, | |
29 mdiff, | |
30 obsolete as obsmod, | |
31 patch, | |
32 phases, | |
33 repoview, | |
34 revlog, | |
35 scmutil, | |
36 subrepo, | |
37 util, | |
38 ) | |
19 | 39 |
20 propertycache = util.propertycache | 40 propertycache = util.propertycache |
21 | 41 |
22 # Phony node value to stand-in for new files in some uses of | 42 # Phony node value to stand-in for new files in some uses of |
23 # manifests. Manifests support 21-byte hashes for nodes which are | 43 # manifests. Manifests support 21-byte hashes for nodes which are |