hgext/mq.py
changeset 9157 9261667e9b82
parent 9111 ac3f1e6696eb
child 9167 b67adc2daa15
equal deleted inserted replaced
9156:c9c7e8cdac9c 9157:9261667e9b82
    12 patches (subset of known patches).
    12 patches (subset of known patches).
    13 
    13 
    14 Known patches are represented as patch files in the .hg/patches directory.
    14 Known patches are represented as patch files in the .hg/patches directory.
    15 Applied patches are both patch files and changesets.
    15 Applied patches are both patch files and changesets.
    16 
    16 
    17 Common tasks (use "hg help command" for more details):
    17 Common tasks (use "hg help command" for more details)::
    18 
    18 
    19 prepare repository to work with patches   qinit
    19   prepare repository to work with patches   qinit
    20 create new patch                          qnew
    20   create new patch                          qnew
    21 import existing patch                     qimport
    21   import existing patch                     qimport
    22 
    22 
    23 print patch series                        qseries
    23   print patch series                        qseries
    24 print applied patches                     qapplied
    24   print applied patches                     qapplied
    25 print name of top applied patch           qtop
    25   print name of top applied patch           qtop
    26 
    26 
    27 add known patch to applied stack          qpush
    27   add known patch to applied stack          qpush
    28 remove patch from applied stack           qpop
    28   remove patch from applied stack           qpop
    29 refresh contents of top applied patch     qrefresh
    29   refresh contents of top applied patch     qrefresh
    30 '''
    30 '''
    31 
    31 
    32 from mercurial.i18n import _
    32 from mercurial.i18n import _
    33 from mercurial.node import bin, hex, short, nullid, nullrev
    33 from mercurial.node import bin, hex, short, nullid, nullrev
    34 from mercurial.lock import release
    34 from mercurial.lock import release