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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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


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
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,496 views 19 19
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you