# HG changeset patch # User Bryan O'Sullivan # Date 2015-12-24 00:22:20 # Node ID 88b32dcc25b63d1c988d79010dd641342c63dfb5 # Parent a801d331a0222e22525b17bfb778180b87de67d6 histedit: don't bother with cPickle, demand-load pickle We're unlikely to ever need the pickle module, so there's no good reason to force loading of its faster cousin. diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -169,11 +169,7 @@ the drop to be implicit for missing comm """ -try: - import cPickle as pickle - pickle.dump # import now -except ImportError: - import pickle +import pickle import errno import os import sys