diff mercurial/statichttprepo.py @ 11155:245a67fe2574

static-http: disable lazy parsing This only hits if you're crazy enough to use static-http on a repository with revlogs larger than 1M. Don't do it.
author Matt Mackall <mpm@selenic.com>
date Tue, 11 May 2010 16:28:09 -0500
parents 26abd91d9e84
children aaf9968bd8b7
line wrap: on
line diff
--- a/mercurial/statichttprepo.py	Sun May 02 21:56:25 2010 -0400
+++ b/mercurial/statichttprepo.py	Tue May 11 16:28:09 2010 -0500
@@ -77,6 +77,7 @@
             return httprangereader(f, urlopener)
         return o
 
+    opener.options = {'nonlazy': 1}
     return opener
 
 class statichttprepository(localrepo.localrepository):