Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

SourceTree 3.1.2 Mercurial on Mac is unbearably slow (Invokes Python 5 times?)



Just created a fresh local repos, added 2 files, 2 commits. Looking at one files takes 5 seconds. During that time it seems at least 5 new Python processes are started.

Is this normal?

Attached GIF screen capture, not sure it works here, but it shows how it looks. (It may look like one Python process, but look at the PIDs.)

SourceTree 3.1.2 (216), using Embedded Mercurial 4.6.1, macOS 10.14.4

Kind regards


1 comment

Found the Debug menu.

These are the commands being issued in the above sequence:

Screenshot 2019-04-25 at 14.04.29 .png

So 7 invocations of Python. These are all the arguments:

diff -y -U 3 --change 1 path:hello.txt

cat -y -r 1 path:hello.txt

log -y --template {node}␞{parents}␞{date|isodatesec}␞{branches}␞{author}␞{desc}␞{tags}␞{svnrev}␞{node|short}␞ -r 1

cat -y -r 0 path:hello.txt

cat -y -r 1 path:hello.txt

log -y --template {node}␞{parents}␞{date|isodatesec}␞{branches}␞{author}␞{desc}␞{tags}␞{svnrev}␞{node|short}␞ -r 1

cat -y -r 0 path:hello.txt

Thinking out loud:

  • The 'export/log/export'-trio is executed twice, with exactly the same arguments?
  • What's the 'export/log/export' about anyway? Is it really necessary? Isn't all the info needed to refresh the view given by 'diff' alone?

Sorry for chain posting.

I tried to disable all the Sourcetree › Preferences › Mercurial - Extensions I could (shelve, hgsubversion, hgflow), and the timings improved:

Screenshot 2019-04-25 at 14.24.01 .png

Better, still, this seems weirdly slow to me.

This is what 'diff' takes using Mercurial 4.9.1 from MacPorts:

Screenshot 2019-04-25 at 14.25.23 .png

What is going on?

Also, is there any way I can use Mercurial from MacPorts in Sourcetree instead? (It's not installed in any 'site-packages'-folder.)


Log in or Sign up to comment

Atlassian Community Events