hgext/transplant.py
changeset 3886 abaee83ce0a6
parent 3827 2db191165e9a
child 3893 6b4127c7d52a
equal deleted inserted replaced
3885:1e0b94cfba0e 3886:abaee83ce0a6
     3 # Copyright 2006 Brendan Cully <brendan@kublai.com>
     3 # Copyright 2006 Brendan Cully <brendan@kublai.com>
     4 #
     4 #
     5 # This software may be used and distributed according to the terms
     5 # This software may be used and distributed according to the terms
     6 # of the GNU General Public License, incorporated herein by reference.
     6 # of the GNU General Public License, incorporated herein by reference.
     7 
     7 
     8 from mercurial.demandload import *
       
     9 from mercurial.i18n import gettext as _
     8 from mercurial.i18n import gettext as _
    10 demandload(globals(), 'os tempfile')
     9 import os, tempfile
    11 demandload(globals(), 'mercurial:bundlerepo,cmdutil,commands,hg,merge,patch')
    10 from mercurial import bundlerepo, cmdutil, commands, hg, merge, patch, revlog
    12 demandload(globals(), 'mercurial:revlog,util')
    11 from mercurial import util
    13 
    12 
    14 '''patch transplanting tool
    13 '''patch transplanting tool
    15 
    14 
    16 This extension allows you to transplant patches from another branch.
    15 This extension allows you to transplant patches from another branch.
    17 
    16