Creating CVS repository: cvs [import aborted]: attempt to import the repository
Hi there,
I'm trying to set up a CVS repository in my linux account. I do: % export CVSROOT=~/mycvs % cvs init It looks like up to this point anything worked fine. I get a CVSROOT directory plenty of administration files. Then I try to create an empty project: % mkdir foo % cd foo % cvs import -m. foo foo initial But I get this message: cvs [import aborted]: attempt to import the repository As I've read, this should happen if the foo directory was inside ~/mycvs/CVSROOT ... which is not the case. Does anyone have some idea about this? Thank you very much... |
Quote:
|
Quote:
|
CVSROOT
Without explaining it any further, CVSROOT needs to be a clean dir one level below your home dir:
- Let's say my home directory is /home/wsanders - mkdir /home/wsanders/CVSROOT - export CVSROOT=/home/wsanders/CVSROOT - cvs init - It will make /home/wsanders/CVSROOT/CVSROOT - Cd to /home/wsanders/MyProj - cvs import -m Imported Myproj wsanders foo - This will import the project, project CVS files are in /home/wsanders/CVSROOT/MyProj - cd /home/wsanders ; rm -r MyProj - cvs co Myproj etc etc etc -w |
All times are GMT -5. The time now is 12:53 PM. |