Mercurial > hg
changeset 28369:71176606fa0a
convert: cvsps use absolute_import
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 14:56:29 +0000 |
parents | b9296b330a54 |
children | c1878afb063a |
files | hgext/convert/cvsps.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/cvsps.py Wed Mar 02 14:23:23 2016 +0000 +++ b/hgext/convert/cvsps.py Wed Mar 02 14:56:29 2016 +0000 @@ -4,13 +4,17 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +from __future__ import absolute_import +import cPickle as pickle import os import re -import cPickle as pickle + +from mercurial import ( + hook, + util, +) from mercurial.i18n import _ -from mercurial import hook -from mercurial import util class logentry(object): '''Class logentry has the following attributes:
--- a/tests/test-check-py3-compat.t Wed Mar 02 14:23:23 2016 +0000 +++ b/tests/test-check-py3-compat.t Wed Mar 02 14:56:29 2016 +0000 @@ -29,7 +29,6 @@ hgext/convert/common.py not using absolute_import hgext/convert/convcmd.py not using absolute_import hgext/convert/cvs.py not using absolute_import - hgext/convert/cvsps.py not using absolute_import hgext/convert/hg.py not using absolute_import hgext/convert/monotone.py not using absolute_import hgext/convert/p4.py not using absolute_import