Solved

cvs commit sticky tag is not a ranch

Posted on 2001-07-26
3
3,368 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

766 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