Showing posts with label CVS. Show all posts
Showing posts with label CVS. Show all posts

Monday, February 25, 2013

Sunday, February 24, 2013

how to list all "projects" in a CVS repository

We achieve that enquiry using the below recipe.

The (files and) directories below the project root are called projects.

Now here is the recipe:
# First check out (non-recursively, i.e. "locally" (= "-l"))
# the root "project" of the repository (i.e. ".")
# to some auxiliary location (e.g. Temp, CAVEAT: checkout's "-d" does not take absolute pathnames),
# so we have the necessary metadata in CVS/:
$ cd ~/cvswork
$ cvs -d ROOTDIR checkout -l -d Temp .


# Then simulate an "update with directories only" of that folder:
$ cd ~/cvswork/Temp
$ cvs -n update -d # create directories / dry run
You may want to get rid of that auxiliary location again; I personally keep ~/cvswork/Temp "permanently", so I can always run the above "cvs -n update -d" in there.

It is a simulated update of the repository root.

I got this recipe from here.

Tuesday, February 19, 2013

The Pragmatic Bookshelf: Pragmatic Version Control using CVS

The Pragmatic Bookshelf | Pragmatic Version Control using CVS

A customer of mine still uses CVS, I would love to own this PDF e-book; I asked them on the forum on that book [Link], whether there is a way to get the e-book [Link]. Update: I got it as a gift from them.

You can find the paper book on Amazon Marketplace as used book and also on eBay for awfully little money.

I really love the recipes in appendix A.2.

Monday, January 21, 2013

CVS Tools (sourceforge)

CVS Tools - Utilities for adminitrators and end users



  • cvsstat.pl – format the output of cvs stat -v to a more informative tree-like listing from where you can see development lines and branches.
  • cvsup.sh – format the output of cvs update to see only relevant messages. Modifications, errors and conflicts etc. are reported, otherwise the output is quiet. Helps updating large trees and seing only what's important.
  • cvsed.pl – a general tool to change ("edit") CVS repository file contents CVS/Root and CVS/Repository easily. In fact this program can change any file recursively, so it's not just for CVS.

red-bean CVS Utilities

CVS Utilities

Saturday, September 29, 2012

red-bean: the Open Source Development with CVS, 3rd Edition


An excerpt of the TOC of the HTML version of the book:
An Overview of CVS
** Branches

The PDF has a nice, printable 4-pages quick reference card ("CVS Commands") at the end.