![]() ![]() ![]() You should see TortoiseHG in context menu and File menu then. To use Nautilus plugin, Nautilus must be restarted first by logging out or executing nautilus -q. Unresolved = !$HG files -T "\0" "set:unresolved()" | xargs -0 code -wait Code language: PHP ( php )Īfter that running hg unresolved will open any unresolved files in VS Code. 4 Answers Sorted by: 7 You can run TortoiseHG using command thg (or hgtk in older versions), usually in the directory with Mercurial repo. 172882 files and directories currently installed. It registers VS Code as the merge tool for conflicts and also adds a hg vsd command to open side by side diffs of individual files in VS Code.Īnd if you do still need to open any unresolved files in VS Code you can use this config: How to install the tortoisehg in Ubuntu20.04 Ask Question Asked 3 years, 1 month ago Modified 1 year, 5 months ago Viewed 13k times 14 I'm trying to install tortoiseHG with: sudo dpkg -i tortoisehg4.8. Selecting previously unselected package tortoisehg. Opts.vsd = -wait -diff Code language: PHP ( php ) Add the following to your ~/.hgrc: Ĭode.args = -wait -merge $other $local $base $output ![]() Well it turns out that since version 1.69 VS Code now has built in support for acting as a merge tool and after trying it out I actually found it to be useful! Given that they (and the rest of the world) tend to focus on Git I couldn’t find explicit instructions for setting it up for Mercurial so here is how you do it. I’ve always struggled to find a graphical merge tool that I can actually understand and up until now I have just been using merge markers along with a handy Mercurial command to open all conflicted files in VS Code, my editor of preference. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |