Here are the scripts I use to enable the cvswrappers feature of CVS. These are based on example scripts provided with an earlier version of CVS (1.7 I think):

¬wrap ¬unwrap

I've added these to the CVSROOT administrative directory.  Here's how:
· check out CVSROOT.
· copy the above scripts into your CVSROOT working directory.
· add the names of these scripts to checkoutlist.  Here is mine:

¬checkoutlist

· cvs add wrap unwrap
· define what to wrap in cvswrappers.  Here is mine:

¬cvswrappers

· cvs add the newly added files (wrap, unwrap, possibly checkoutlist and cvswrappers).
· cvs commit

IMPORTANT: If you have an existing repository that contains unwrapped .nib, .rtfd etc. folders, you'll have to convert these to wrapped versions by hand in the repository.  Here is the script I use to do this.  (It is a modified version of Vince DeMarco's cvsrepack script. It tries quite hard to preserve existing revisions and tags, but it is by no means perfect...):

¬cvsrepack

The base version of cvs-1.9 contains some annoying wrapper-related bugs.  I've fixed some of these and submitted the patches to the cvs maintainers:

¬TRH-cvs-1.9.diff

A precompiled version of this patched CVS can be found at:

	ftp://ftp.next.peak.org/pub/next/apps/unix/cvs.1.9.NIHS.b.pkg.tar.gz

This package assumes the latest versions of GNU rcs and GNU diff, to be installed in /usr/local/.  Precompiled versions of these are available at:

	ftp://ftp.next.peak.org/pub/next/apps/unix/rcs.5.7.NIHS.b.pkg.tar.gz
	ftp://ftp.next.peak.org/pub/next/apps/unix/diff.2.7.NIHS.b.pkg.tar.gz

NOTE: cvswrappers still do not work with remote (server/client) cvs.

As always, use at your own risk.

Tom Hageman  <tom@basil.icce.rug.nl>  1997/07/22