Created
May 2, 2009 13:43
-
-
Save stepancheg/105561 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 8dc6481b5d93 dulwich/pack.py | |
--- a/dulwich/pack.py Fri May 01 20:16:07 2009 -0700 | |
+++ b/dulwich/pack.py Sat May 02 17:42:53 2009 +0400 | |
@@ -30,6 +30,9 @@ | |
a pointer in to the corresponding packfile. | |
""" | |
+from mercurial import demandimport | |
+demandimport.disable() | |
+ | |
try: | |
from collections import defaultdict | |
except ImportError: | |
@@ -60,6 +63,7 @@ | |
sha_to_hex, | |
) | |
from misc import make_sha | |
+demandimport.enable() | |
supports_mmap_offset = (sys.version_info[0] >= 3 or | |
(sys.version_info[0] == 2 and sys.version_info[1] >= 6)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment