Mercurial > hg
diff hgext/convert/filemap.py @ 28367:58b176240df6
convert: filemap use absolute_import
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 09:00:58 +0000 |
parents | 56b2bcea2529 |
children | a0939666b836 |
line wrap: on
line diff
--- a/hgext/convert/filemap.py Wed Mar 02 08:58:01 2016 +0000 +++ b/hgext/convert/filemap.py Wed Mar 02 09:00:58 2016 +0000 @@ -3,12 +3,16 @@ # # 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 posixpath import shlex +from mercurial import ( + error, +) from mercurial.i18n import _ -from mercurial import error -from common import SKIPREV, converter_source +from . import common +SKIPREV = common.SKIPREV def rpairs(path): '''Yield tuples with path split at '/', starting with the full path. @@ -164,7 +168,7 @@ # touch files we're interested in, but also merges that merge two # or more interesting revisions. -class filemap_source(converter_source): +class filemap_source(common.converter_source): def __init__(self, ui, baseconverter, filemap): super(filemap_source, self).__init__(ui) self.base = baseconverter