I have created my first repository and entered a module into
CVS with the tag, "V5-5_2002-07-26". I have this module
checked out using this tag. Today, I discovered that a file
was missing in my original submission to CVS. I am trying to
"add" the file to the repository and it is giving the
following error message (in WinCVS):
----------------------------------------------------------------
cvs add filename.c (in directory E:\PathToFilename\)
cvs server: cannot add file on non-branch tag V5-5_2002-07-26
*****CVS exited normally with code 1*****
----------------------------------------------------------------
I simply want to add the file to the repository and tag it with
the same tag. This seems like a very simple process. I have
a Linux server and WinCVS on a Windows 2000 machine.
Any ideas?
Thanks in Advance
John
If you want to update the dir with the tag name again, do so with update
button again, specifying tag name as usual.
The problem is just that you can't add a file to a directory that you have
checked out based on a tag name. You have to temporarily make the directory
"latest" (i.e. reset sticky tag) to add your new file.
I hope this helps.
You can't add files to a non-branch tag. Doing this is attempting to
change the past, which defeats the whole purpose of history (file or
otherwise).
> I simply want to add the file to the repository and tag it with
> the same tag.
If you want to maintain a particular version (for bug fixes and such),
use branches instead:
<http://www.cvshome.org/docs/manual/cvs_5.html#SEC54>
-Matt
Delete the tag using
cvs tag -d 'tagname'
Jeeva Sarma
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
I tried deleting the tag. Then I updated my working directory and it
deleted the files since the tag no longer existed. When I checked the
module out again with no tag, the tag still appears in my working
directory (in WinCVS) and I still cannot add the file to the repository.
Thanks
John
> _______________________________________________
> Info-cvs mailing list
> Info...@gnu.org
> http://mail.gnu.org/mailman/listinfo/info-cvs
>
>
You need to run 'cvs update -A' (reset sticky tags) to move to the
trunk.
-Matt
I think I am getting the feel of solving this particular problem.
Thanks Again
John
> -----Original Message-----
> From: info-cv...@gnu.org [mailto:info-cv...@gnu.org]On Behalf Of