Setting VisualHG as default Source Control Manager msi installation package from the project's official page published to the VisualStudioGallery web site. You can either install the VisualHG extension from the GUI or by downloading the. Select Online from the left menu to look for new extensions available online, then insert VisualHG in the top-right textbox: you should then be able to see the VisualHG extension, made by Bernd Schrader, which is the one we're looking for. From the main menu, select Tools > Extensions and Updates: in the modal pop-up window that will open we'll have the chance to take a look to all the already installed extensions and/or add new ones. The time has come to launch Visual Studio 2015 and install the additional component that will enable us to use TortoiseHg right within the GUI. The former will make TortoiseHg able to handle Git repositories (such as those present on ) by following the instructions explained here the latter will enable a handy keyring to securely store the passwords for all the repositories being used, which can be very useful if you plan to do a lot of synchronization-type tasks (such as push, pull etc.) aginst Mercurial and/or Git remote servers. We need to enable two very useful plug-ins here: hggit and mercurial_keyring. If you don't understand what " update the hard-disk accordingly" actually means, you might need to refresh your knowledge of how distribuited source control managers like Mercurial actually work: if that's the case, you should read here for more info.Īs soon as you do that, move to the Extensions section. This way, every time the local repository will be updated with a synchronize/pull operation, Mercurialwill also update the hard-disk version accordingly. Once there, change the value of the Operation to perform after pull dropdown to Update. Navigate through the Sync section using the menu to the left. Let's open up the TortoiseHg Workbench, then navigate through File > Settings: the TortoiseHg settings modal window will open. Configuring TortoiseHgīefore digging into Visual Studio 2015 it can be wise to change a couple things to the TortoiseHg 's default settings. On the other hand, whenever we need to change some configuration settings, the TortoiseHg Workbench will be very handy, providing the proper GUI tools to do that: that's precisely what we need to do right now. For example, if you need to Clone an existing project in a matter of seconds, the context menu add-on will most likely be the right choice: all you need to do is right-click on the destination folder, select TortoiseHg > Clone. and enter the repository URL to start the cloning process. Image 2 - TortoiseHg context menu add-onsĮither one of them can be useful, depending on any given scenario. Image 1 - TortoiseHg Workbench main screen ![]() Using the context add-ons added to the File context menu, available by right-clicking to any file or folder within an instance of the Windows File Explorer (see Image 2). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |