[cvsnt] Re: Can't do cvs commit

Bo Berglund bo.berglund at telia.com
Thu Jun 22 15:13:07 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Thu, 22 Jun 2006 15:57:54 +0200, Elvira Lopez Rubio
<elvira_lopez at carrefour.com> wrote:

>> This is the error message:
>>  Marketing: cvs server: sticky tag `20060530' for file
>`source/com/bo/ArticulBO.java' is not a branch
>> Marketing: cvs [server aborted]: correct above errors first!
>
>
>¿How do you solve this problem?
>

The file you have edited has been updated or checked out on a date
(20060530) and thus it is not an editable file that you can commit.
The file has a so called "sticky tag" which means that it is a
revision in the middle of the revisions for that file that has been
checked out in order to build or examine the state at that particular
time. Such a file cannot be edited and then committed.

You must do one of several different things:

1. Remove the sticky tag by
 cvs update -A ArticulBO.java
This will bring you the latest version of the file (HEAD revision) to
your sandbox. You can now commit after reapplying your edits (save the
file before the update).

2. Create a branch to work on by
  cvs tag -b Branch_Here_Tag ArticulBO.java
  cvs update -r Branch_Here_Tag ArticulBO.java
This will make it possible for you to commit your edit, but it will go
to the branch instead of to the mainline code. In this case you don't
need to make a copy of your file.

So it all depends on what you want to do...

HTH

/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook