• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Sticky tag problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to commit a package which is of another project. But I want to include the same in my project to avoid dependencies. While committing, its giving error like,

cvs commit: sticky tag `rel-1-1' for file <filename.java> is not a branch


Please suggest best solution. I dont want to update original code.
 
Saloon Keeper
Posts: 28327
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CVS and Subversion do not permit a directory to reside in more than one version-control project at a time. The hidden files and directories that the client uses to synchronize with the repository have the owning project's data coded in them, and there's no place to put a second "owner", much less resolve the potential conflicts.

If a resource is shared, it's really better to make an independent project out of that shared resource and have it referenced by the dependent projects.

You can split out a component of a project by doing a CVS export, which will create a local copy of just the files without the CVS control information. These files can then be used as the source for a CVS create operation.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks more like a cvs question to me, moving to the IDE and Version Control forum.

Oh, and welcome to Java Ranch!
 
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic