How to determine changes available with source tree?

I am using a mercurial repository with Source tree. How can I find out if there are changes available before I pull ? Expecting there is a way to tell if I am at tip or not before the pull.

Thanks

2 answers

SourceTree periodically checks the default remote in the background (10 mins by default, it's configurable in Preferences), and if there are incoming changes a count is displayed on the Pull toolbar icon, and also alongside a down arrow icon in the Bookmarks view.

Otherwise, when you hit 'Pull' from the toolbar, you get a display of 'hg incoming' before you click OK so you can preview the changes that way too.

Just curious: how do you prevent collisions with user-triggered commands? The last time I've tried a git fetch and performed another, local command which I don't remember, my repository got screwed up...

Both git and hg hold lock files on the repo data so that parallel commands can't screw each other up like this, so this shouldn't happen. The one case where I've seen it occur is when trying to use a repo via a SMB share, which can't fulfil the requirements reliably. But using a repo on a SMB share is generally a bad idea anyway.

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

231 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