问题描述:

Is there a way to get the list of tags for a Changeset object in JavaHg?

网友答案:

You can get all tags with the TagsCommand

Map<String,Changeset> tagMap = TagsCommand.on(repo).execute();

You will then have to iterate over the map and search for the Changeset in question.

相关阅读:
Top