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.


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 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,231 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