Tags in Mercurial

In the image of the help for Queue Options under Repository Branch/Tag you can see something that looks like buttons with texts Branch and Tag (Branch selected). In my screens I only get the Branch buttons, the rest is gray. What is wrong?

Using Continua 1.5.0.338 with Mercurial/Kiln. 
Anders  

Hi Anders,

The tag button is only available if there are tags in the database for the repository. There are three reasons why there would be no tags:

1. There are no tags in the repository.
2. The “Tag Changes”  repository setting is set to “Ignore”.
3. The tags are associated with old changesets which are not listed in the database for the repository. Look on the Changes tab for the configuration to see if this is the case.

When you add a repository (or reset a repository), Continua only gets the latest changeset on each branch rather than all changesets in the repository. This is to speed up the initialisation process. New changesets and tags are added as they are detected so we always have the latest changeset to build. We only store tags against changesets which exist in the database.

We plan to update the repository code for a future release to provide the option to get a history of all tagged changesets in the repository. 

Hi Dave,
Thanks for your explanation, I think I get the idea. This is the case:

  • There are tags in the repository
  • The setting for Tag Changes was set to Detect yesterday.
  • There are no tags in the Changes tab
  • I guess the tags didn’t make it into the database in right time? Is there a way to force a “re-read” of the tags?

     

    Anders

    Ok, did some own “research” and found out how to reset the repository. Seems so work (even though I found another problem - see other thread!) /Anders