CLion 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
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 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
CLion 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.
- Open the Tag dialog box by doing one of the following:
- On the main menu, choose .
- On the context menu of the Editor, choose .
- In the Tag dialog box that opens, specify the tag name. The name must be unique.