From patchwork Wed Jun 5 21:01:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: histedit: raise ImportError when demandloading is enabled From: Simon Heimberg X-Patchwork-Id: 1702 Message-Id: To: Mercurial-devel Date: Wed, 05 Jun 2013 23:01:38 +0200 # HG changeset patch # User Simon Heimberg # 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