comparison hgext/mq.py @ 2554:8264c2034970

help: add help to mq extension
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 03 Jul 2006 14:30:38 -0700
parents 7a90e0c77f43
children 96950d39171d
comparison
equal deleted inserted replaced
2553:5b426676f616 2554:8264c2034970
2 # 2 #
3 # Copyright 2005 Chris Mason <mason@suse.com> 3 # Copyright 2005 Chris Mason <mason@suse.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
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 '''
7 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 _
11 from mercurial import ui, hg, revlog, commands, util 35 from mercurial import ui, hg, revlog, commands, util