From owner-cvs-all Fri Jan 31 14: 8:16 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3A9237B401; Fri, 31 Jan 2003 14:08:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B8F43FA3; Fri, 31 Jan 2003 14:08:14 -0800 (PST) (envelope-from seanc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0VM8Ebv021942; Fri, 31 Jan 2003 14:08:14 -0800 (PST) (envelope-from seanc@repoman.freebsd.org) Received: (from seanc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0VM8E4O021941; Fri, 31 Jan 2003 14:08:14 -0800 (PST) Message-Id: <200301312208.h0VM8E4O021941@repoman.freebsd.org> From: Sean Chittenden Date: Fri, 31 Jan 2003 14:08:14 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/tools README src/tools/tools/backout_commit backout_commit.rb X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: $ 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 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