contrib/hg-ssh
changeset 5197 55860a45bbf2
parent 5188 831ebc408ffb
--- a/contrib/hg-ssh
+++ b/contrib/hg-ssh
@@ -25,6 +25,9 @@ You can use pattern matching of your nor
 command="cd repos && hg-ssh user/thomas/* projects/{mercurial,foo}"
 """
 
+# enable importing on demand to reduce startup time
+from mercurial import demandimport; demandimport.enable()
+
 from mercurial import dispatch
 
 import sys, os