Originally Posted by frandalla
I'm having a series of problems with my first attempt of using CVS.
I read manuals but still couldn't quite get a grip on the thing so after many disastrous uses I got the thing going. The point is that by now I have 2 branches in my code. One good, everything in order and a second one with unnecessary files and completely redundant with the existence of the second, good and improved, branch.
My question is: how can I delete that branch and all the files inside of it?
thank you in advance.
P.S.: I've been googling for some time and I either don't know what to search for or I really can't see the solution even though it's in front of me.
Get the Oreilly book.
I'd just rename the directory CVS_HOME is pointing to [directory name].bak, create a new directory to replace it, and reimport my code. Much simpler. You can get the commands you used to create the repository from:
$ grep cvs ~/.bash_history
I don't know if I'd worry too much about cvs. Definitely get the book because it's great if you need to figure something out. It's possible that git may end up taking over that world. It solves a lot of cvs's problems because it's fundamentally different, where SVN isn't. cvs is still used in a *lot* of places tho. For some people/companies it works very well and they'll be using it forever.
I've used git as a user to get the wine source and apply my patches (from various developers) and it's very nice.
Linus Torvalds is using (and wrote it) it for the kernel project to substitute for bitkeeper. 8)
Since you aren't too invested in cvs, this would be a good time to check them all out and see if you like one type or another better. They use cvs where I work unfortunately lol.
I'm planning on using git for my next project at home tho.