How to revert to previous commit in CVS

CVS documentation can be found here, but from this site it tells how to revert a single file: MAKING THE OLD VERSION THE CURRENT VERSION Save the version of “oldfile” to something else and check out the “current” version. Note: you must still to do update -A to get the current version, because even though … Read more

Remove empty directory from CVS?

AFAIK the CVS protocol does not allow to remove directories. You should go to the server console and remove them from the real physical repository. http://www.network-theory.co.uk/docs/cvsmanual/Removingdirectories.html You don’t remove the directory itself; there is no way to do that.

How to add CVS directories recursively

I found this worked pretty effectively: First, add all the directories, but not any named “CVS”: find . -type d \! -name CVS -exec cvs add ‘{}’ \; Then add all the files, excluding anything in a CVS directory: find . \( -type d -name CVS -prune \) -o \( -type f -exec cvs add … Read more

CVS: List all files changed between tags (or dates)

I suppose this command would help: cvs diff -N -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs where RELEASE_1_0 and RELEASE_1_1 are the names of your tags. You can find a little more information on cvs diff command here plus it should be fairly simple to create a script to make report more suitbable for your … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)