IntelliJ IDEA 2017.1 Help

Tagging Changesets

IntelliJ IDEA supports both local and global tags. Local tags are stored in the file .hg/localtags in the repository, global tags are stored in the file .hgtags.

Currently tagging specific changesets is supported only in the command line mode in the embedded Terminal. To launch the Terminal, hover your mouse pointer over /help/img/idea/2017.1/show_tool_window_bars.png in the lower left corner of the IDE, then choose Terminal from the menu (see Working with Embedded Local Terminal for details). After commit, tags appear in the Log tab of the Version Control tool window.

For more information about Mercurial tags, see Mercurial Documentation: Tag.

Tagging a repository

IntelliJ IDEA provides UI for tagging the current repository which means assigning a tag to its tip. The created tag is global, is stored in the file .hgtags. After commit, the tag appears in the Log tab of the Version Control tool window.

  1. Open the Tag dialog box by doing one of the following:
    • On the main menu, choose VCS | Mercurial | Tag Repository.
    • On the context menu of the Editor, choose Mercurial | Tag Repository.
  2. In the Tag dialog box that opens, specify the tag name. The name must be unique.

See Also

Last modified: 18 July 2017