% cvs admin -kb filename
cvswrappersfile provided in the devtools. The easiest thing to do is to copy it to your homedir and prepend a dot:
% cp /Developer/Tools/cvswrappers ~/.cvswrappers
You can also add the contents of that fike to your repository.
.pbproj files aren't handled by the cvswrappers by default. You'll need to add a line like this:
*.pbproj -k 'b' -f '/Developer/Tools/cvs-unwrap %s' -t '/Developer/Tools/cvs-wrap %s %s' -m 'COPY'
% cvs checkout -D "3 days ago" blork
Or via a date (month/day/year)
% cvs checkout -D "10/17/2002" fnord
or recently in time
% cvs diff -D "1 hour ago" ook.blah
% cvs update -d [whatever]
-doption. Otherwise CVS will just ignore any directories added in the branch.
% cvs update -Ad #switch to the trunk (if you haven't already) % cvs update -d -j branch_name [resolve conflicts] % cvs commit -m "whatever"
(Courtesy of Jeremy Stein)
% find . -type d -print | grep -v CVS | xargs cvs add % find . -type f -print | grep -v CVS | xargs cvs addThe first adds the directories, the second adds the files. Filenames with spaces in them won't be added, and it won't do the Right Thing with
-kbfor binary files.
% cvs log -r1.2:1.5 multiprocessing.txt