Search code examples
macosmercurialtortoisehgatlassian-sourcetree

How to commit a part of a file in SourceTree for Hg on Mac


I'm using SourceTree 1.9.3.1 with Mercurial on Mac OSX 10.9.3.

I come from TortoiseHg on Windows, where it is possible to select the exact lines I want to commit within a file. Any unselected lines are available for selection on the next commit.

Sadly TortoiseHg isn't supported on Mac. How can I make SourceTree behave in this way?


Solution

    1. According to TortoiseHG Download page Installer packages are available (slightly outdated, yes)
    2. Wiki-page for Mac-users give some additional information about installing TortoiseHG
    3. In order to commit only hunks of files, you have to have enabled Record Extension on top of pure Mercurial