[PATCH 10 of 13] Temp disable demandimport

Alejandro Santos alejolp at alejolp.com
Wed Aug 5 15:55:44 CDT 2009


# HG changeset patch
# User Alejandro Santos <alejolp at alejolp.com>
# Date 1249505636 10800
# Node ID 8e0e20db4a8b3ee5542801bc74a552a99e3d8f3b
# Parent  7e7aba33a25ebfe2afd1c15ec866c97d2ed511bb
Temp disable demandimport

diff -r 7e7aba33a25e -r 8e0e20db4a8b hg
--- a/hg	Wed Aug 05 17:53:56 2009 -0300
+++ b/hg	Wed Aug 05 17:53:56 2009 -0300
@@ -9,7 +9,10 @@
 
 # enable importing on demand to reduce startup time
 try:
-    from mercurial import demandimport; demandimport.enable()
+    from mercurial import demandimport
+
+    if False:
+        demandimport.enable()
 except ImportError:
     import sys
     sys.stderr.write("abort: couldn't find mercurial libraries in [%s]\n" %


More information about the Mercurial-devel mailing list