当前位置: 动力学知识库 > 问答 > 编程问答 >

java - Get list of tags for a Changeset object in JavaHg?

问题描述:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: