Signed-off-by: Yann Dirson <ydirson@altern.org>
===========
Yann Dirson <ydirson@altern.org>
v0.13, April 2007
NAME
----
===========
Yann Dirson <ydirson@altern.org>
v0.13, April 2007
NAME
----
-stg-bury - stgdesc:bury[]
+stg-sink - stgdesc:sink[]
SYNOPSIS
--------
[verse]
SYNOPSIS
--------
[verse]
-'stg' bury [--to=<target>] [--nopush] [<patches>]
+'stg' sink [--to=<target>] [--nopush] [<patches>]
impacted by the push of another patch, and from where they can be more
easily committed or pushed.
impacted by the push of another patch, and from where they can be more
easily committed or pushed.
-If no patch is specified on command-line, the current patch is buried.
-By default patches are buried at the bottom of the stack, but the
-'--to' option allows to bury under any applied patch.
+If no patch is specified on command-line, the current patch gets sunk.
+By default patches are sunk to the bottom of the stack, but the
+'--to' option allows to place them under any applied patch.
-Buring internally involves popping all patches (or all patches
-including <target patch>), then pushing the patches to bury, and then
+Sinking internally involves popping all patches (or all patches
+including <target patch>), then pushing the patches to sink, and then
(unless '--nopush' is also given) pushing back into place the
formerly-applied patches.
(unless '--nopush' is also given) pushing back into place the
formerly-applied patches.
--to=<TARGET>::
-t <TARGET>::
--to=<TARGET>::
-t <TARGET>::
- Specify a target patch to bury the patches below, instead of
- buring at the bottom of the stack.
+ Specify a target patch to place the patches below, instead of
+ sinking them to the bottom of the stack.
--nopush::
-n::
Do not push back on the stack the formerly-applied patches.
--nopush::
-n::
Do not push back on the stack the formerly-applied patches.
- Only the patches to bury are pushed.
+ Only the patches to sink are pushed.
stgdesc:goto[]
stglink:float[]::
stgdesc:float[]
stgdesc:goto[]
stglink:float[]::
stgdesc:float[]
-stglink:bury[]::
- stgdesc:bury[]
+stglink:sink[]::
+ stgdesc:sink[]
stglink:applied[]::
stgdesc:applied[]
stglink:unapplied[]::
stglink:applied[]::
stgdesc:applied[]
stglink:unapplied[]::
applied
assimilate
branch
applied
assimilate
branch
# repository commands
id) _stg_patches $command _all_patches ;;
# stack commands
# repository commands
id) _stg_patches $command _all_patches ;;
# stack commands
- bury) _stg_patches $command _all_patches ;;
float) _stg_patches $command _all_patches ;;
goto) _stg_patches $command _all_other_patches ;;
hide) _stg_patches $command _all_patches ;;
pop) _stg_patches $command _applied_patches ;;
push) _stg_patches $command _unapplied_patches ;;
series) _stg_patches $command _all_patches ;;
float) _stg_patches $command _all_patches ;;
goto) _stg_patches $command _all_other_patches ;;
hide) _stg_patches $command _all_patches ;;
pop) _stg_patches $command _applied_patches ;;
push) _stg_patches $command _unapplied_patches ;;
series) _stg_patches $command _all_patches ;;
+ sink) _stg_patches $command _all_patches ;;
unhide) _stg_patches $command _all_patches ;;
# patch commands
delete) _stg_patches $command _all_patches ;;
unhide) _stg_patches $command _all_patches ;;
# patch commands
delete) _stg_patches $command _all_patches ;;
from stgit import stack, git
from stgit import stack, git
-help = 'bury patches down the stack'
+help = 'send patches deeper down the stack'
usage = """%prog [-t <target patch>] [-n] [<patches>]
Pop all patches (or all patches including <target patch>), then
usage = """%prog [-t <target patch>] [-n] [<patches>]
Pop all patches (or all patches including <target patch>), then
help = 'do not push the patches back after sinking',
action = 'store_true'),
make_option('-t', '--to', metavar = 'TARGET',
help = 'do not push the patches back after sinking',
action = 'store_true'),
make_option('-t', '--to', metavar = 'TARGET',
- help = 'bury patches below TARGET patch')]
+ help = 'sink patches below TARGET patch')]
def func(parser, options, args):
def func(parser, options, args):
+ """Sink patches down the stack.
"""
check_local_changes()
"""
check_local_changes()
'applied': 'applied',
'assimilate': 'assimilate',
'branch': 'branch',
'applied': 'applied',
'assimilate': 'assimilate',
'branch': 'branch',
'delete': 'delete',
'diff': 'diff',
'clean': 'clean',
'delete': 'delete',
'diff': 'diff',
'clean': 'clean',
'rm': 'rm',
'series': 'series',
'show': 'show',
'rm': 'rm',
'series': 'series',
'show': 'show',
'status': 'status',
'sync': 'sync',
'top': 'top',
'status': 'status',
'sync': 'sync',
'top': 'top',
'applied',
'assimilate',
'branch',
'applied',
'assimilate',
'branch',
'clean',
'commit',
'float',
'clean',
'commit',
'float',
'push',
'rebase',
'series',
'push',
'rebase',
'series',
'top',
'unapplied',
'uncommit',
'top',
'unapplied',
'uncommit',