comparison hgext/largefiles/proto.py @ 29312:29139be0ccc7

py3: make largefiles/proto.py use absolute_import
author liscju <piotr.listkiewicz@gmail.com>
date Tue, 10 May 2016 14:41:58 +0200
parents 032c4c2f802a
children 7356e6b1f5b8
comparison
equal deleted inserted replaced
29311:b76abae75161 29312:29139be0ccc7
1 # Copyright 2011 Fog Creek Software 1 # Copyright 2011 Fog Creek Software
2 # 2 #
3 # This software may be used and distributed according to the terms of the 3 # This software may be used and distributed according to the terms of the
4 # GNU General Public License version 2 or any later version. 4 # GNU General Public License version 2 or any later version.
5 from __future__ import absolute_import
5 6
6 import os 7 import os
7 import re 8 import re
8 9
9 from mercurial import error, httppeer, util, wireproto
10 from mercurial.i18n import _ 10 from mercurial.i18n import _
11
12 from mercurial import (
13 error,
14 httppeer,
15 util,
16 wireproto,
17 )
18
19 from . import (
20 lfutil,
21 )
11 22
12 urlerr = util.urlerr 23 urlerr = util.urlerr
13 urlreq = util.urlreq 24 urlreq = util.urlreq
14
15 import lfutil
16 25
17 LARGEFILES_REQUIRED_MSG = ('\nThis repository uses the largefiles extension.' 26 LARGEFILES_REQUIRED_MSG = ('\nThis repository uses the largefiles extension.'
18 '\n\nPlease enable it in your Mercurial config ' 27 '\n\nPlease enable it in your Mercurial config '
19 'file.\n') 28 'file.\n')
20 29