- Switch to the Changes tool window.
- Navigate to the Unversioned Files node and choose from the context menu.
After a Mercurial repository for a project is initialized, you need to add the project data to it.
Tip
To have Mercurial ignore some types of files, configure files to ignore.