mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-24 01:03:19 +00:00
d61fae8409
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> |
||
---|---|---|
.. | ||
backout_commit.rb |