Date: Fri, 31 Jan 2003 14:08:14 -0800 (PST) From: Sean Chittenden <seanc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/tools README src/tools/tools/backout_commit backout_commit.rb Message-ID: <200301312208.h0VM8E4O021941@repoman.freebsd.org>
index | next in thread | raw e-mail
seanc 2003/01/31 14:08:14 PST
Modified files:
tools/tools README
Added files:
tools/tools/backout_commit backout_commit.rb
Log:
Add a getopt-ified version of an old tool that I've been using for ages:
backout_commit.rb. Tool can be used to automate the
process of backing out either small or large commits based off of
one or more commit messages. The result of the script is a shell
script which can be edited or run as needed. New and dead files
are taken into consideration. See the program's usage statement for
more configuration details. Here's an example usage:
<programlisting>
$ mutt
[find commit message, save to disk as cvsmsg.txt]
$ backout_commit.rb ~/cvsmsg.txt
Backout directory: /usr
Backout script: backout-2003-01-31-14-04.sh
Scanning through cvsmsg.txt...done.
Change to /usr and run this script. Please look through this script and
make changes as necessary. There are commented out commands available
in the script.
Example script usage:
mv backout-2003-01-31-14-04.sh /usr
cd /usr
less backout-2003-01-31-14-04.sh
/bin/sh backout-2003-01-31-14-04.sh
rm -f backout-2003-01-31-14-04.sh
</programlisting>
Revision Changes Path
1.27 +6 -3 src/tools/tools/README
1.1 +350 -0 src/tools/tools/backout_commit/backout_commit.rb (new)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301312208.h0VM8E4O021941>
