Mercurial > hg
changeset 7629:97253bcb44a8
transplant: move docstrings before imports (see issue1466)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 13 Jan 2009 13:43:42 +0100 |
parents | 9c6ae2e09e11 |
children | 0b2ee57dfdb1 |
files | hgext/transplant.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/transplant.py Tue Jan 13 10:44:16 2009 +0100 +++ b/hgext/transplant.py Tue Jan 13 13:43:42 2009 +0100 @@ -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 @@ 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