[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need Answer to an Error during Add Command
From: |
Larry Jones |
Subject: |
Re: Need Answer to an Error during Add Command |
Date: |
Tue, 25 Feb 2003 16:40:47 -0500 (EST) |
Swartz, Jera L writes:
>
> I am getting an error while trying to add a new binary file to the CVS
> repository. The directory in which it resides has already been imported into
> CVS.
I hope you mean the directory in which it resides has already been
checked out from CVS. add only works in a working directory, which is a
directory checked out from CVS. Importing a directory does not make it
a working directory.
> The error I am getting is:
>
> cvs server: cannot add file on non-branch tag 1.2
That means that your directory is locked at a specific revision. You
need to do ``cvs update -A'' to get rid of the sticky tag if you're
intending to add the file to the trunk or ``cvs update -r <branch tag>''
if you intend to add it to a branch.
-Larry Jones
It's no fun to play games with a poor sport. -- Calvin