#!/bin/bash # # The filename should be changed from "pcvs.txt" to "pcvs". # # pcvs is a tool to "commit" files to a CVS repository # before you are ready to overwrite the file. It creates # a new file ("filename".pcv) that is committed, and # deletes this file when you are ready to release. # # IMPORTANT: CVS has branches, which can be used to allow # concurrent separate development paths on the same file. # This script is for illustratory purposes and branches # are the standard way to accomplish the same thing. # # Bryan Smith - bryanesmith [at] gmail.com # Created - Thurs Sept 10 2010 # Last Updated - Fri Sept 11 2010 # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - error() { if [ "$#" -eq "2" ]; then echo echo "ERROR: $2" fi usage exit $1 } COMMIT_MSG='"Some commit message..."' # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - usage() { cat <