-stg-bury(1)
+stg-sink(1)
===========
Yann Dirson <ydirson@altern.org>
v0.13, April 2007
NAME
----
-stg-bury - stgdesc:bury[]
+stg-sink - stgdesc:sink[]
SYNOPSIS
--------
[verse]
-'stg' bury [--to=<target>] [--nopush] [<patches>]
+'stg' sink [--to=<target>] [--nopush] [<patches>]
DESCRIPTION
-----------
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.
--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.
- Only the patches to bury are pushed.
+ Only the patches to sink are pushed.
StGIT
-----
applied
assimilate
branch
- bury
delete
diff
clean
rm
series
show
+ sink
status
sync
top
# 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 ;;
+ sink) _stg_patches $command _all_patches ;;
unhide) _stg_patches $command _all_patches ;;
# patch commands
delete) _stg_patches $command _all_patches ;;
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
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):
- """Bury patches
+ """Sink patches down the stack.
"""
check_local_changes()