##// END OF EJS Templates
transplant: move docstrings before imports (see issue1466)
Dirkjan Ochtman -
r7629:97253bcb default
parent child Browse files
Show More
@@ -5,11 +5,6 b''
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.i18n import _
9 import os, tempfile
10 from mercurial import bundlerepo, changegroup, cmdutil, hg, merge
11 from mercurial import patch, revlog, util
12
13 '''patch transplanting tool
8 '''patch transplanting tool
14
9
15 This extension allows you to transplant patches from another branch.
10 This extension allows you to transplant patches from another branch.
@@ -18,6 +13,11 b' Transplanted patches are recorded in .hg'
18 from a changeset hash to its hash in the source repository.
13 from a changeset hash to its hash in the source repository.
19 '''
14 '''
20
15
16 from mercurial.i18n import _
17 import os, tempfile
18 from mercurial import bundlerepo, changegroup, cmdutil, hg, merge
19 from mercurial import patch, revlog, util
20
21 class transplantentry:
21 class transplantentry:
22 def __init__(self, lnode, rnode):
22 def __init__(self, lnode, rnode):
23 self.lnode = lnode
23 self.lnode = lnode
General Comments 0
You need to be logged in to leave comments. Login now