From: Martin DeMello Date: 2003-08-10T17:53:59+09:00 Subject: Re: CVS add Brian Candler wrote: > On Sun, Aug 10, 2003 at 04:13:51PM +0900, Martin DeMello wrote: >> Just learning my way around CVS - is this missing anything? It seems to >> work, but that's just programming by coincidence :) > > Normally when adding a whole existing project to CVS you'd use 'cvs import'. I thought of that, but a friend advised against it. Quoting him: | Never use cvs import on existing files. you'll get lost in a maze | of vendor ids and repository ids all alike. | | do the following: suppose your project name is foo. | | mkdir tmp; cd tmp # any empty directory | cvs import foo foo start # will prompt for message, can leave blank | cd ..; rmdir tmp | cvs co foo # creates foo and foo/CVS and stuff inside it | cd foo | cp whatever_existing_project_files_and_dirs . | cvs add * | cvs commit # this is your real importing And when I went to do that, I found out that CVS had no recursive add. martin