You need to checkout the top dir first (to create the CVS dir), then % mkdir HTML % cvs add HTML : put the files in HTML % cvs add HTML/* % cvs commit -m "initial checkin of docs" HTML/*
then go to your actual public html dir cvs -d <cvsroot dir> co HTML mv HTML/* . rmdir HTML then cvs update -Pd in the public html dir whenever you want to refresh your content. On Thu, Feb 07, 2002 at 12:00:30AM +0100, Marco Fioretti wrote: > just some info I forgot to paste to the initial message. Sorry again > for the waste of bandwidth, and thanks in advance for any help. > > > TIA, > Marco > friend said: > > > Try ci (check in) instead of co (check out). > > > and my answer was: > > Forrest, > > I get what follows. I understand that I must tell CVS in some way that > the source directory (the one containing the stuff to be put on the > server) is /home/marco/PROJECTS/RULE/HTML, but I must be really > missing some basic point here. Look at this output: > > cvs -z3 [EMAIL PROTECTED]:/webcvs/ ci HTML > cvs commit: Examining HTML > cvs commit: in directory HTML: > cvs [commit aborted]: there is no version here; do 'cvs checkout' > first > [marco@polaris RULE]$ cvs checkout > cvs checkout: No CVSROOT specified! Please use the `-d' option > cvs [checkout aborted]: or set the CVSROOT environment variable. > [marco@polaris RULE]$ export CVSROOT /home/marco/PROJECTS/RULE/HTML > bash: export: `/home/marco/PROJECTS/RULE/HTML': not a valid identifier > [marco@polaris RULE]$ export CVSROOT=/home/marco/PROJECTS/RULE/HTML > [marco@polaris RULE]$ cvs checkout > cvs checkout: No CVSROOT specified! Please use the `-d' option > cvs [checkout aborted]: or set the CVSROOT environment variable. > [marco@polaris RULE]$ export CVSROOT=/home/marco/PROJECTS/RULE/HTML > [marco@polaris RULE]$ cvs checkout > cvs [checkout aborted]: /home/marco/PROJECTS/RULE/HTML/CVSROOT: No > such file or directory > [marco@polaris RULE]$ cp mkdir HTML/CVSROOT > cp: cannot stat `mkdir': No such file or directory > -- > According to one popular definition, craziness is doing the same thing > over and over but expecting different results. -- David Terrell | "Any sufficiently advanced technology Prime Minister, Nebcorp | is indistinguishable from a rigged demo." [EMAIL PROTECTED] | - Brian Swetland http://wwn.nebcorp.com/
