Rename "bury" back to "sink".
authorYann Dirson <ydirson@altern.org>
Tue, 15 May 2007 17:09:58 +0000 (18:09 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 15 May 2007 21:13:14 +0000 (22:13 +0100)
Signed-off-by: Yann Dirson <ydirson@altern.org>
Documentation/stg-sink.txt [moved from Documentation/stg-bury.txt with 56% similarity]
Documentation/stg.txt
contrib/stgit-completion.bash
stgit/commands/sink.py [moved from stgit/commands/bury.py with 93% similarity]
stgit/main.py

similarity index 56%
rename from Documentation/stg-bury.txt
rename to Documentation/stg-sink.txt
index 22ab548..0f569be 100644 (file)
@@ -1,16 +1,16 @@
-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
 -----------
@@ -21,12 +21,12 @@ patches near the bottom of the stack, where they are less likely to be
 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.
 
@@ -36,13 +36,13 @@ OPTIONS
 
 --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
 -----
index 14371f2..4f9d18e 100644 (file)
@@ -162,8 +162,8 @@ stglink:goto[]::
        stgdesc:goto[]
 stglink:float[]::
        stgdesc:float[]
-stglink:bury[]::
-       stgdesc:bury[]
+stglink:sink[]::
+       stgdesc:sink[]
 stglink:applied[]::
        stgdesc:applied[]
 stglink:unapplied[]::
index 7e45c7e..d497098 100644 (file)
@@ -15,7 +15,6 @@ _stg_commands="
     applied
     assimilate
     branch
-    bury
     delete
     diff
     clean
@@ -46,6 +45,7 @@ _stg_commands="
     rm
     series
     show
+    sink
     status
     sync
     top
@@ -201,13 +201,13 @@ _stg ()
         # 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 ;;
similarity index 93%
rename from stgit/commands/bury.py
rename to stgit/commands/sink.py
index b14f09e..85cc70f 100644 (file)
@@ -24,7 +24,7 @@ from stgit.utils import *
 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
@@ -36,10 +36,10 @@ options = [make_option('-n', '--nopush',
                        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()
index 9c319c6..1a1f534 100644 (file)
@@ -63,7 +63,6 @@ commands = Commands({
     'applied':          'applied',
     'assimilate':       'assimilate',
     'branch':           'branch',
-    'bury':             'bury',
     'delete':           'delete',
     'diff':             'diff',
     'clean':            'clean',
@@ -94,6 +93,7 @@ commands = Commands({
     'rm':               'rm',
     'series':           'series',
     'show':             'show',
+    'sink':             'sink',
     'status':           'status',
     'sync':             'sync',
     'top':              'top',
@@ -111,7 +111,6 @@ stackcommands = (
     'applied',
     'assimilate',
     'branch',
-    'bury',
     'clean',
     'commit',
     'float',
@@ -124,6 +123,7 @@ stackcommands = (
     'push',
     'rebase',
     'series',
+    'sink',
     'top',
     'unapplied',
     'uncommit',