hg.rst
changeset 1667 40bb400c925e
parent 1660 71e627dc8b8c
child 1668 86a2cb376ee9
equal deleted inserted replaced
1666:bdc52dabc6e9 1667:40bb400c925e
   388 ::
   388 ::
   389 
   389 
   390   $ hg qpop -a
   390   $ hg qpop -a
   391   $ for patch in `hg qser`; do hg qrm $patch; done
   391   $ for patch in `hg qser`; do hg qrm $patch; done
   392 
   392 
       
   393 Split patch in MQ.
       
   394 ==================
       
   395 
       
   396 Enable built-in extensions::
       
   397 
       
   398   [extensions]
       
   399   mq=
       
   400   record=
       
   401   shelve=
       
   402 
       
   403 Then move MQ into working tree and split changes and remove original patch::
       
   404 
       
   405   $ hg qpop my.patch
       
   406   $ patch -p1 <.hg/patches/my.patch
       
   407 
       
   408   $ hg qnew -i my1.patch
       
   409    ....
       
   410   $ hg qnew -i my2.patch
       
   411    ....
       
   412   $ hg qnew myN.patch   # last without interactive stuff
       
   413 
       
   414   $ hg qdelete --keep my.patch
       
   415 
       
   416 Between ``my$i.patch`` and ``my$((i+1)).patch`` you can use ``hg shelve``/``hg
       
   417 unshelve`` to test if project built and pass tests on top of ``my$i.patch``
       
   418 without later changes!
       
   419 
       
   420 If you find that something missing on this stage use ``hg qref`` on shelved
       
   421 changes or ``hg qref -i`` on unshelved changes!
       
   422 
   393 Proxy.
   423 Proxy.
   394 ======
   424 ======
   395 ::
   425 ::
   396 
   426 
   397   $ hg clone --config http_proxy.host=$host:$port \
   427   $ hg clone --config http_proxy.host=$host:$port \