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

0 votes
Accepted answer

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 Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,116 views 4 2
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