# HG changeset patch # User Vadim Gelfer # Date 1151962238 25200 # Node ID 8264c20349708db40781575fbb01b3775d1f68fe # Parent 5b426676f61643e3e59e0be8691c5cd19a247930 help: add help to mq extension diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -5,6 +5,30 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. +'''patch management and development + +This extension lets you work with a stack of patches in a Mercurial +repository. It manages two stacks of patches - all known patches, and +applied patches (subset of known patches). + +Known patches are represented as patch files in the .hg/patches +directory. Applied patches are both patch files and changesets. + +Common tasks (use "hg help command" for more details): + +prepare repository to work with patches qinit +create new patch qnew +import existing patch qimport + +print patch series qseries +print applied patches qapplied +print name of top applied patch qtop + +add known patch to applied stack qpush +remove patch from applied stack qpop +refresh contents of top applied patch qrefresh +''' + from mercurial.demandload import * demandload(globals(), "os sys re struct traceback errno bz2") from mercurial.i18n import gettext as _