keyword: use absolute_import

This commit is contained in:
Christian Ebert 2016-03-01 10:33:06 +00:00
parent e5e6b47d65
commit 929efdce88
2 changed files with 24 additions and 5 deletions

View File

@ -82,12 +82,32 @@ like CVS' $Log$, are not supported. A keyword template map "Log =
{desc}" expands to the first line of the changeset description.
'''
from mercurial import commands, context, cmdutil, dispatch, filelog, extensions
from mercurial import localrepo, match, patch, templatefilters, util, error
from mercurial import scmutil, pathutil
from __future__ import absolute_import
import os
import re
import tempfile
from mercurial.hgweb import webcommands
from mercurial.i18n import _
import os, re, tempfile
from mercurial import (
cmdutil,
commands,
context,
dispatch,
error,
extensions,
filelog,
localrepo,
match,
patch,
pathutil,
scmutil,
templatefilters,
util,
)
cmdtable = {}
command = cmdutil.command(cmdtable)

View File

@ -59,7 +59,6 @@
hgext/highlight/__init__.py not using absolute_import
hgext/highlight/highlight.py not using absolute_import
hgext/histedit.py not using absolute_import
hgext/keyword.py not using absolute_import
hgext/largefiles/__init__.py not using absolute_import
hgext/largefiles/basestore.py not using absolute_import
hgext/largefiles/lfcommands.py not using absolute_import