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

This widget could not be displayed.

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.

This widget could not be displayed.

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

874 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