[cvsnt] Re: add files in repository root problem

Bo Berglund bo.berglund at telia.com
Mon Nov 24 06:15:24 GMT 2003


On Mon, 24 Nov 2003 00:06:49 +0100, "Nenad Blagojevic"
<nenadblagojevic_exth at msn.com> wrote:

>Hi,
>Why can I not add a file in the cvs repository root. I have added several
>directories and files in the directories, but i cannot manage to add files
>in the repository root. I have tried with netbeans built in client, and the
>commandline. Neither works!
>
>Win2003 server commandline aproach:
>
>cd to project root directory (with the file)
>cvs add template.jsp
>tried also with:
>cvs add /template.jsp
>cvs add \template.jsp
>
>returned message by cvs:
>cvs add: in directory .:
>cvs [add aborted]: there is no version here; do 'cvs checkout ' first
>
>What do I do wrong? Do the cvs support files in root directory?
>
>Regards,
>
>Nenad.
>

You can only CVS add files if your current dir is a checked out
sandbox. All cvs commands except checkout use the metadata stored in
the subdirectory CVS that exists in all checked out sandboxes.
Without this it is not possible to add a directory (or indeed a file
for that matter).


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list