equal
deleted
inserted
replaced
3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005-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 i18n import _ |
8 from __future__ import absolute_import |
9 import mdiff, parsers, error, revlog, util |
9 |
10 import array, struct |
10 import array |
|
11 import heapq |
11 import os |
12 import os |
12 import heapq |
13 import struct |
|
14 |
|
15 from .i18n import _ |
|
16 from . import ( |
|
17 error, |
|
18 mdiff, |
|
19 parsers, |
|
20 revlog, |
|
21 util, |
|
22 ) |
13 |
23 |
14 propertycache = util.propertycache |
24 propertycache = util.propertycache |
15 |
25 |
16 def _parsev1(data): |
26 def _parsev1(data): |
17 # This method does a little bit of excessive-looking |
27 # This method does a little bit of excessive-looking |