Is there a way to make hg-git's push faster?

232 Views Asked by At

When using hg-git to push to a remote repository (using git+ssh://-protocol), it takes 10 minutes (and more) for one commit with a one-line change of a small file. The command I'm executing is:

hg push -B hg-experiments

Is there some more efficient command to push or is there some configuration of the local Mercurial or the remote Git repository which could help to make this faster? (What I've in mind here is e.g. the size of packs and the like.)

  • Operating System: Windows 7
  • Local Mercurial version: 2.2.1
  • Remote Git version: 1.7.3.5
  • hg-git version: changeset dfb2b7b5d586 from Sat May 12 03:33:19 2012 -0500
1

There are 1 best solutions below

0
On

Sadly, I don't think there's anything that you can really do to improve the performance.

There are a couple outstanding performance issues in dulwich (the underlying Git library that Hg-Git users), that if fixed, might improve performance for you:

There's also some potential performance improvement work being done in Hg-Git itself: