##// END OF EJS Templates
convert: cvs use absolute_import
timeless -
r28413:6bda8210 default
parent child Browse files
Show More
@@ -4,15 +4,32 b''
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 from __future__ import absolute_import
7
8
8 import os, re, socket, errno
9 import cStringIO
9 from cStringIO import StringIO
10 import errno
10 from mercurial import encoding, util, error
11 import os
12 import re
13 import socket
14
15 from mercurial import (
16 encoding,
17 error,
18 util,
19 )
11 from mercurial.i18n import _
20 from mercurial.i18n import _
12
21
13 from common import NoRepo, commit, converter_source, checktool
22 from . import (
14 from common import makedatetimestamp
23 common,
15 import cvsps
24 cvsps,
25 )
26
27 StringIO = cStringIO.StringIO
28 checktool = common.checktool
29 commit = common.commit
30 converter_source = common.converter_source
31 makedatetimestamp = common.makedatetimestamp
32 NoRepo = common.NoRepo
16
33
17 class convert_cvs(converter_source):
34 class convert_cvs(converter_source):
18 def __init__(self, ui, path, revs=None):
35 def __init__(self, ui, path, revs=None):
@@ -22,7 +22,6 b''
22 hgext/__init__.py not using absolute_import
22 hgext/__init__.py not using absolute_import
23 hgext/color.py not using absolute_import
23 hgext/color.py not using absolute_import
24 hgext/convert/__init__.py not using absolute_import
24 hgext/convert/__init__.py not using absolute_import
25 hgext/convert/cvs.py not using absolute_import
26 hgext/eol.py not using absolute_import
25 hgext/eol.py not using absolute_import
27 hgext/extdiff.py not using absolute_import
26 hgext/extdiff.py not using absolute_import
28 hgext/factotum.py not using absolute_import
27 hgext/factotum.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now