STG-SINK(1) StGit Manual STG-SINK(1)NAME
stg-sink - Send patches deeper down the stack
SYNOPSIS
stg sink [-t <target patch>] [-n] [<patches>]
DESCRIPTION
This is the opposite operation of linkstg:float[]: move the specified patches down the stack. It is for example useful to group stable
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 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.
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.
OPTIONS -n, --nopush
Do not push back on the stack the formerly-applied patches. Only the patches to sink are pushed.
-t TARGET, --to TARGET
Specify a target patch to place the patches below, instead of sinking them to the bottom of the stack.
-k, --keep
Keep the local changes.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-SINK(1)
Check Out this Related Man Page
STG-REPAIR(1) StGit Manual STG-REPAIR(1)NAME
stg-repair - Fix StGit metadata if branch was modified with git commands
SYNOPSIS
stg repair
DESCRIPTION
If you modify an StGit stack (branch) with some git commands -- such as commit, pull, merge, and rebase -- you will leave the StGit
metadata in an inconsistent state. In that situation, you have two options:
1. Use "stg undo" to undo the effect of the git commands. (If you know what you are doing and want more control, "git reset" or similar
will work too.)
2. Use "stg repair". This will fix up the StGit metadata to accomodate the modifications to the branch. Specifically, it will do the
following:
o If you have made regular git commits on top of your stack of StGit patches, "stg repair" makes new StGit patches out of them,
preserving their contents.
o However, merge commits cannot become patches; if you have committed a merge on top of your stack, "repair" will simply mark all
patches below the merge unapplied, since they are no longer reachable. If this is not what you want, use "stg undo" to get rid of
the merge and run "stg repair" again.
o The applied patches are supposed to be precisely those that are reachable from the branch head. If you have used e.g. "git reset"
to move the head, some applied patches may no longer be reachable, and some unapplied patches may have become reachable. "stg
repair" will correct the appliedness of such patches.
"stg repair" will fix these inconsistencies reliably, so as long
as you like what it does, you have no reason to avoid causing
them in the first place. For example, you might find it
convenient to make commits with a graphical tool and then have
"stg repair" make proper patches of the commits.
Note
If using git commands on the stack was a mistake, running "stg repair" is not what you want. In that case, what you want is option (1)
above.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-REPAIR(1)
i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options.
Assessing patches needed for your system...... (8 Replies)
I'm attempting to install a Sun patch and keep getting an error:
# patchadd /tmp/patches/110722-03
Checking installed patches...
One or more patch packages included in
110722-03 are not installed on this system.
Patchadd is terminating.
#
How can I find out what are the "One or... (7 Replies)
Hi people:
I am having trouble installing some HPUX patches on my 11.00. I am a novice :confused: at this so bear with me. I do not understand how to install depots.
Now I'm trying to patch my system so I can get the Oracle client installed.
Oracle says I need these two patches:... (5 Replies)
I am seeking help to add patches to Sloris 10 on 64 bit Sparc server. This is to prepare the server for the installation of oracle 10g. Please list command and the directory (If needed). Thanks. (7 Replies)
Hello,
Firstable I am new on hp-ux (well long time ago) I am more aix admin....
Legato networker is the tool backup use on the hp-ux. I don't know this tool and would like to know where to find some docs or training.
My first question will be : when a system (hp-ux B.11.0) is backuped on a... (8 Replies)
I need patch against the I_PEEK Local Kernel memory Leak Exploit
But i'm unable to find any patches for Solaris 5.11, and smpatch is no longer supported... So, do you have any suggestions how to patch my system?
Thanks. (4 Replies)
Hi All,
I would like to ask some questions, I have an Solaris 10 and RHEL which is install in separate machine..
The question is:
1. how can I check the latest patches or latest update in my machine? (I need a step or command)
2. where can I get the latest security patch or necessary patch... (5 Replies)
# patchadd /Desktop/117837-08.jar
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
The following requested patches have packages not installed on the system
Package SPROcc from directory SPROcc in patch 117837-08 is... (19 Replies)
:mad: :mad: Hello,
Could some help me to resolve why i am geting the below errors... :(
Just tried installing patch bundle on solairs 10.
many patches are been failed. wen i am trying to install it manualy i am geting the below errors..
... (8 Replies)
Hello all
looking to write a for loop to remove patches in the /var/sadm/patch directory. So far this is what i have:
#! /bin/sh
cd /var/sadm/patch
ls -l | awk '{print $9}' > patches
/usr/bin/sort -r patches > patches_r
for i in 'cat patches_r'
do
echo "going to remove... (6 Replies)
Hello,
The 10_Recommended update failed on 3 of 191, which was patch 119254-73 (the 1st 2 patches were skipped). I looked up the patch on Sunsolve (http://sunsolve.sun.com/search/document.do?assetkey=1-21-119254), which stated that 121133-02 was a required patch for 119254-73. I did a "showrev... (7 Replies)
Hi,
I have a file with th elist of patches separated by comma, like below:
patch1, patch 2, patch 3................
t\The number of patches is not known as it changes every time.
I need assistance in writing a routine such as it will take patch1 as first variable and performs the... (4 Replies)
Hi Guys,
I have a file that lists patches along with other information.
The patches are listed in two different formats.
One format lists the latest patch, date , installed patch
Latest Patch Date IN
148412-02 13-Sep-2012 -- X X SunOS 5.10: nss_dns patch
126206-10 ... (5 Replies)
Hi, I'm pretty new to Linux and I want to download security patches and install them on RHEL 5.4.
I've searched the red hat web site but cant seem to find where the download link is. (5 Replies)