I am using the mercurial command line and I can’t find out how to tag a certain folder. My source repository consists from different libraries so I’d like to tag them separately.
I also mistakenly tagged my whole source tree, so I’d like to know how do I erase a tag before I create the new tag.
I am using the mercurial command line and I can’t find out how to
Share
As Lasse states, you can only tag a revision of the entire repository in Mercurial. In order to tag different components in your repository you could consider using Mercurial Subrepositories. Subrepositories allow you to treat individual components (what you are calling libraries) as independent repositories, and pull them together into a single, functional unit.
In terms of BitBucket’s limitation on private repos – you could consider making some of them public, or placing the main repository on a local machine or server if you’re concerned about exposing source publicly. If you’re interested in hosting something yourself, Redmine is a good free tool that would allow you to serve as many repos as you want.