Why is the Unstaged Hunk button disabled?

I'm noticing that in some cases the Unstage Hunk button is disabled and I don't know why.  Has anyone else seen something similar and know of a solution?  Below is a screen shot within an example.  It is a .sln file.  It is very tedious and time consuming to unstage each changed line one by one because source tree wants to refresh each time which is really annoying as well.  It also won't let me unstage multiple lines unless they are contiguous so I have no choice but to do it the hard way unless someone can explain why the button is disabled.  I'm using version for windows 7 64 bit.


image2014-10-30 17:19:55.png


1 answer

This widget could not be displayed.

I don't have these problems in versions The release notes for specifically mention fixing a variety of bugs related to the diff view:

  • SRCTREEWIN-1949: Reverse hunk button now shows correctly in Mercurial repos
  • SRCTREEWIN-1974: Stop causing the diff view to constantly refresh or unnecessarily refresh for some users
  • SRCTREEWIN-2029: Stop diff view from disappearing on selection

Thanks; I didn't realize that I was that far behind. I've downloaded the latest and will monitor to see if it is resolved.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

889 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you