Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

cvs commit sticky tag is not a ranch

Posted on 2001-07-26
3
Medium Priority
?
3,378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

715 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