Mercurial > hg
comparison hgext/largefiles/basestore.py @ 29307:67999697221a
py3: make largefiles/basestore.py use absolute_import
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Fri, 06 May 2016 14:30:23 +0200 |
parents | 814076f4ace3 |
children | 3dcaf1c4e90d |
comparison
equal
deleted
inserted
replaced
29306:83cecc0b991f | 29307:67999697221a |
---|---|
5 # | 5 # |
6 # This software may be used and distributed according to the terms of the | 6 # This software may be used and distributed according to the terms of the |
7 # GNU General Public License version 2 or any later version. | 7 # GNU General Public License version 2 or any later version. |
8 | 8 |
9 '''base class for store implementations and store-related utility code''' | 9 '''base class for store implementations and store-related utility code''' |
10 from __future__ import absolute_import | |
10 | 11 |
11 from mercurial import util, node | |
12 from mercurial.i18n import _ | 12 from mercurial.i18n import _ |
13 | 13 |
14 import lfutil | 14 from mercurial import node, util |
15 | |
16 from . import lfutil | |
15 | 17 |
16 class StoreError(Exception): | 18 class StoreError(Exception): |
17 '''Raised when there is a problem getting files from or putting | 19 '''Raised when there is a problem getting files from or putting |
18 files to a central store.''' | 20 files to a central store.''' |
19 def __init__(self, filename, hash, url, detail): | 21 def __init__(self, filename, hash, url, detail): |