Schema Compare allows you to establish the connection to a Mercurial repository when the source control is selected as source or as target.
Note
Before linking a database to Mercurial, ensure you have a Mercurial client installed.
1. In the upper-right corner of the Start Page or on the toolbar, click New Schema Comparison to open the New Schema Comparison wizard.
2. On the Source and Target page of the wizard, select Source Control as a source type.
3. In the Repository menu, click + New to open the Source Control Repository Properties dialog.
4. In the Source Control Repository Properties dialog, select Mercurial as a source control system from the Source control system list and do the following:
Note
To get proper settings, contact your system administrator.
5. Optional: Click Test to verify that the database can be successfully connected to source control.
6. Click OK to apply the changes and close the Source Control Repository Properties dialog.
1. In the upper-right corner of the Start Page or on the toolbar, click New Schema Comparison to open the New Schema Comparison wizard.
2. On the Source and Target page of the wizard, select Source Control as a target type.
3. In the Repository menu, click + New to open the Source Control Repository Properties dialog.
4. In the Source Control Repository Properties dialog, select Mercurial as a source control system from the Source control system list and do the following:
Note
To get proper settings, contact your system administrator.
5. Optional: Click Test to verify that the database can be successfully connected to source control.
6. Click OK to apply the changes and close the Source Control Repository Properties dialog.
If you want to configure the git-auto-commit action on every change in the structure of databases, refer to the How to Automatically Commit SQL Server Database Schema Changes to the GIT Repository article.
See also: Update to a revision from source control.