Solved

cvs commit sticky tag is not a ranch

Posted on 2001-07-26
3
3,357 Views
Last Modified: 2013-12-26
Hi....
I am trying to commit the following but I get an error that it says corret first, yeees, but how do I correct this???????/


cvs commit XML-Production.pl
cvs commit: sticky tag `1.12' for file `XML-Production.pl' is not a branch
cvs [commit aborted]: correct above errors first!
emedia% cvs commit XML-Production.pl
cvs commit: sticky tag `1.12' for file `XML-Production.pl' is not a branch
cvs [commit aborted]: correct above errors first!
0
Comment
Question by:rickyr
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 6322559
This means that you have checked out a specific version of the file by doing,
for instance

    cvs update -r 1.12 CHANGELOG

When you check out something using a tag, that tag is made sticky on the
checked out version of the file. In this case, a version tag was made sticky.

The tag is applied during subsequent cvs operations such as commits.  Needless
to say, you cannot commit to 1.12 of CHANGELOG because there is no branch
there.

In general, you cannot go back to some old version of a file and commit a
change to it; you can only commit changes to the head of the trunk or a branch.

Just run  cvs update -A on these files to revert your working copy to the head
revisions.  If you made changes, they should be patched to the latest versions.
The update -A will clear sticky tags so you can proceed.

0
 
LVL 86

Expert Comment

by:jkr
ID: 6326634
Did that help?
0
 
LVL 3

Author Comment

by:rickyr
ID: 6326822
Oh yes, cvs update -A has helped me alot.
I found a file called Entries in the CVS directory.
/MyFile/1.15/Thu Jul 26 15:36:11 2001//
if the sticky tag is set then the line will look this...
/MyFile/1.15/Thu Jul 26 15:36:11 2001//T1.12
If you remove the Tn.nn then that also clears the sticky tag.

Thanks
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
notReplace  challenge 53 102
VBA "SendKeys" Syntax for Multiple Keystrokes 7 98
sum28 challenge 31 96
noX challenge 17 76
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now