Hi Dawei! If you're using a proxy, this issue could be related to that. The SourceTree logs could give you a hint, you can find them following SourceTree logfile location.
Have you tried updating the embedded version of Mercurial via Settings > Accounts > Mercurial tab? If the issue still persists, let us know which OS, version of SourceTree and version of Mercurial are you using so we can continue helping you. Note that SourceTree still does not support Mercurial 4.0 and above, as it breaks an authentication extension used to manage username/password credentials.
Let us know if you need anything further!
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...
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!
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