[PATCH] histedit: raise ImportError when demandloading is enabled

Simon Heimberg simohe at besonet.ch
Wed Jun 5 16:01:38 CDT 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1370459809 -7200
# Node ID db081600a8eecfe66a907a3164020226c2a81a1a
# Parent  8b04e1344111ba696ff7cfaa59a48966b43332ee
histedit: raise ImportError when demandloading is enabled

diff -r 8b04e1344111 -r db081600a8ee hgext/histedit.py
--- a/hgext/histedit.py	Mon Jun 03 17:20:45 2013 -0700
+++ b/hgext/histedit.py	Mit Jun 05 21:16:49 2013 +0200
@@ -140,6 +140,7 @@
 
 try:
     import cPickle as pickle
+    pickle.dump # import now
 except ImportError:
     import pickle
 import os


More information about the Mercurial-devel mailing list