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

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 Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

273 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot