Sunday, April 17, 2005

Fix CVS sticky tag is not a branch error

If getting sticky tag for file "is not a branch" error when trying to do cvs ci,

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.

11 comments:

Anonymous said...

Thanks. The hint helped me to resolve this error and avoided unnecessary escalation.

Thanks a millin to post such a nice note to public.

Anonymous said...

ditto. very helpful tip.

Dan said...

solved my problem, thanks a ton!

Phil said...

Thanks. Helped me out.

If anyone is taking the easy way out like me and using SmartCVS, you need to do a Switch (Special Update) and choose Main Trunck's Head (reset sticky) to resolve this.

Anonymous said...

Thank you, it solved my problem

Anonymous said...

Hellelujah, yes, thank you! I just wanted to know how to fix it so I could get on with my work!

Anonymous said...

Thank you for the post! That helped a lot

Graham said...

I'm a long way from being a CVS expert, but surely you need to emphasise that this puts the file which should probably be on a branch, back into head?

SouthernImp said...

Brilliant - thank you!

Axel said...

saved my ass ;) tvm

Anonymous said...

SIMPLESET WAY:
Right click on Project-->Team-->Switch to another branch or version---> Switch to head or the branch you want to.

Problem solved.