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 THg isn't supported on Mac. How can I make SourceTree behave in this way?
Hi Seth,
Firstly, you should turn on the staging area (I believe it is off by default in 1.9). Once you have it on, you can select lines to stage in the diff view of each uncommitted file. Then you commit what is in staging.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seth,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I only use Git, but now that you mention it, I remember reading somewhere that Staging is a Git-specific concept. I guess I have no idea how you'd pull it off in Hg.
You might still try highlighting lines in the diff view to see if any extra options are presented (as buttons above or below the hunk).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't mean something at the source control level, I mean something in the interface level that just lets you commit only selected changes. If staging is a Git concept then that's overkill - the TortoiseHg feature works only in the UI and isn't part of Mercurial.
There are no options if I select lines in the diff view.
Back to trying to get TortoiseHg to run on Mac...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.