PyCharm 2016.1 Help

Tagging Changesets

PyCharm 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 show_tool_window_bars 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\bCategoryGlossary\b%29.

Tagging a repository

PyCharm 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: 20 April 2016