Which branch is this changeset in?

When I select a changeset in SourceTree, how am I supposed to know which branch that changeset is in? I guess I can scroll around until I see a label on some different changeset, or memorize branch colors (which is useless cause the same color may be used for different branches). But surely it's an important enough piece of information to be shown more prominently than that, no?



1 answer

1 accepted

This widget could not be displayed.

I assume you're talking about Mercurial since Git doesn't associate commits with branches (it's the other way around).

If you click on a commit that is on anything other than the 'default' branch, then a 'Branch' entry will appear in the commit details: https://skitch.com/sjstreeting/8ck4r/sourcetree-default-mercurial. Commits on the default branch don't have a branch label, because 'hg log' itself doesn't report that.

The commit details pane was completely collapsed in the Log view (likely my fault, but don't remember minimizing it.) It would also be helpful to move some of that commit detail information into the main pane. I'll put in a feature request for customising the columns, in particular adding branch and changeset columns.

Thanks for the help.

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...

860 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