mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
transplant: use absolute_import
This commit is contained in:
parent
1e52ec82b3
commit
c63b17c586
@ -13,13 +13,28 @@ possibly in another repository. The transplant is done using 'diff' patches.
|
||||
Transplanted patches are recorded in .hg/transplant/transplants, as a
|
||||
map from a changeset hash to its hash in the source repository.
|
||||
'''
|
||||
from __future__ import absolute_import
|
||||
|
||||
import os
|
||||
import tempfile
|
||||
from mercurial.i18n import _
|
||||
import os, tempfile
|
||||
from mercurial import node as nodemod
|
||||
from mercurial import bundlerepo, hg, merge, match
|
||||
from mercurial import patch, revlog, scmutil, util, error, cmdutil
|
||||
from mercurial import registrar, revset, templatekw, exchange
|
||||
from mercurial import (
|
||||
bundlerepo,
|
||||
cmdutil,
|
||||
error,
|
||||
exchange,
|
||||
hg,
|
||||
match,
|
||||
merge,
|
||||
node as nodemod,
|
||||
patch,
|
||||
registrar,
|
||||
revlog,
|
||||
revset,
|
||||
scmutil,
|
||||
templatekw,
|
||||
util,
|
||||
)
|
||||
|
||||
class TransplantError(error.Abort):
|
||||
pass
|
||||
|
@ -48,7 +48,6 @@
|
||||
hgext/mq.py not using absolute_import
|
||||
hgext/rebase.py not using absolute_import
|
||||
hgext/share.py not using absolute_import
|
||||
hgext/transplant.py not using absolute_import
|
||||
hgext/win32text.py not using absolute_import
|
||||
i18n/check-translation.py not using absolute_import
|
||||
i18n/polib.py not using absolute_import
|
||||
|
Loading…
Reference in New Issue
Block a user