Solved

cvs commit sticky tag is not a ranch

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 184
ShiftLeft challenge 21 82
wordappend challenge 8 180
Making an alias 7 95
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 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