Show More
@@ -5,6 +5,30 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 | '''patch management and development | |||
|
9 | ||||
|
10 | This extension lets you work with a stack of patches in a Mercurial | |||
|
11 | repository. It manages two stacks of patches - all known patches, and | |||
|
12 | applied patches (subset of known patches). | |||
|
13 | ||||
|
14 | Known patches are represented as patch files in the .hg/patches | |||
|
15 | directory. Applied patches are both patch files and changesets. | |||
|
16 | ||||
|
17 | Common tasks (use "hg help command" for more details): | |||
|
18 | ||||
|
19 | prepare repository to work with patches qinit | |||
|
20 | create new patch qnew | |||
|
21 | import existing patch qimport | |||
|
22 | ||||
|
23 | print patch series qseries | |||
|
24 | print applied patches qapplied | |||
|
25 | print name of top applied patch qtop | |||
|
26 | ||||
|
27 | add known patch to applied stack qpush | |||
|
28 | remove patch from applied stack qpop | |||
|
29 | refresh contents of top applied patch qrefresh | |||
|
30 | ''' | |||
|
31 | ||||
8 | from mercurial.demandload import * |
|
32 | from mercurial.demandload import * | |
9 | demandload(globals(), "os sys re struct traceback errno bz2") |
|
33 | demandload(globals(), "os sys re struct traceback errno bz2") | |
10 | from mercurial.i18n import gettext as _ |
|
34 | from mercurial.i18n import gettext as _ |
General Comments 0
You need to be logged in to leave comments.
Login now