# HG changeset patch # User Dirkjan Ochtman # Date 2009-01-13 12:43:42 # Node ID 97253bcb44a897837720ced80fe898048d6dcbe0 # Parent 9c6ae2e09e113c8927a306993eca6aa0e9cf3dd2 transplant: move docstrings before imports (see issue1466) diff --git a/hgext/transplant.py b/hgext/transplant.py --- a/hgext/transplant.py +++ b/hgext/transplant.py @@ -5,11 +5,6 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -from mercurial.i18n import _ -import os, tempfile -from mercurial import bundlerepo, changegroup, cmdutil, hg, merge -from mercurial import patch, revlog, util - '''patch transplanting tool This extension allows you to transplant patches from another branch. @@ -18,6 +13,11 @@ Transplanted patches are recorded in .hg from a changeset hash to its hash in the source repository. ''' +from mercurial.i18n import _ +import os, tempfile +from mercurial import bundlerepo, changegroup, cmdutil, hg, merge +from mercurial import patch, revlog, util + class transplantentry: def __init__(self, lnode, rnode): self.lnode = lnode