Patchwork histedit: raise ImportError when demandloading is enabled

login
register
mail settings
Submitter Simon Heimberg
Date June 5, 2013, 9:01 p.m.
Message ID <db081600a8eecfe66a90.1370466098@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/1702/
State Accepted
Commit 87bb533676338aee8978f99ab53583afb4885ee4
Headers show

Comments

Simon Heimberg - June 5, 2013, 9:01 p.m.
# HG changeset patch
# User Simon Heimberg <simohe@besonet.ch>
# Date 1370459809 -7200
# Node ID db081600a8eecfe66a907a3164020226c2a81a1a
# Parent  8b04e1344111ba696ff7cfaa59a48966b43332ee
histedit: raise ImportError when demandloading is enabled
Matt Mackall - June 5, 2013, 9:05 p.m.
On Wed, 2013-06-05 at 23:01 +0200, Simon Heimberg wrote:
> # HG changeset patch
> # User Simon Heimberg <simohe@besonet.ch>
> # Date 1370459809 -7200
> # Node ID db081600a8eecfe66a907a3164020226c2a81a1a
> # Parent  8b04e1344111ba696ff7cfaa59a48966b43332ee
> histedit: raise ImportError when demandloading is enabled

Queued for stable, thanks.

Patch

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