Forum OpenACS Q&A: Looking For A CVS Guru/Weenie

Collapse
Posted by Carl Coryell-Martin on
I wonder if there is anyone out there willing to give me a couple of consulting hours tweaking my CVS configuration. I am moving our servers from one machine to another and I want to use this opportunity to improve my cvs configuration.

As example of what I am trying to deal with:

[carl@mother foo-dev]$ cvs tag foo-1-1a
cvs tag: Tagging .
T 2001-09-07-propnotes.txt
T Apr27-prod-rollnotes.txt
T Apr30-prod-rollnotes.txt
T TAGS
T emacs-tag-file-script
T propnotes-v2.6.txt
T readme.txt
T temp-object-desc.out
T temp-oq-2.out
T temp-question-desc.out
T wwwAboutUs.adp.tmp
cvs tag: Tagging backups
cvs tag: Tagging bin
T bin/aolserver-errors.pl
T bin/parsedoc.sh
T bin/queue-message.pl
T bin/restartserver.sh
cvs tag: Tagging custom
cvs tag: Tagging custom/www
cvs tag: Tagging custom/www/content
cvs tag: Tagging custom/www/content/images
T custom/www/content/images/folder-add-2.tcl
T custom/www/content/images/get-password-2.tcl
T custom/www/content/images/get-password.adp
T custom/www/content/images/get-password.tcl
T custom/www/content/images/photo-add-2.tcl
T custom/www/content/images/photo-add.adp
T custom/www/content/images/photo-add.tcl
T custom/www/content/images/photo.adp
T custom/www/content/images/photo.tcl
cvs tag: Tagging data
cvs tag: Tagging data/12
cvs [tag aborted]: could not chdir to 12: No such file or directory
for some reason it wants me to create these empty directorys and I haven't been able to get cvs to remove them.

send me email if you are interested,

Cheers,

Collapse
Posted by Andrew Grumet on
How to remove them:
  1. cvs update the directory
    % cvs update -d data
    (creates subdirectories that CVS thinks should be there)

  2. remove and CVS remove any files in the directory
    % rm data/12/junk-file
    % cvs remove data/12/junk-file
    % cvs commit -m "Removing." data/12/junk-file
    

  3. when all files are removed, update the directory in "prune" mode
    % cvs update -P data/12
    (removes empty directories)

  4. Repeat as needed for all delinquent directories