Patchwork [1,of,4] cmdutil: drop a duplicate import of crecord

login
register
mail settings
Submitter Matt Harbison
Date March 21, 2015, 6:11 a.m.
Message ID <d6dd0d5dafcb3d65cdeb.1426918261@Envy>
Download mbox | patch
Permalink /patch/8212/
State Accepted
Headers show

Comments

Matt Harbison - March 21, 2015, 6:11 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1426902911 14400
#      Fri Mar 20 21:55:11 2015 -0400
# Node ID d6dd0d5dafcb3d65cdeb5c07e7197204416db879
# Parent  1cfded2fa1a92ee9b55d1f62675569e340a39083
cmdutil: drop a duplicate import of crecord

It looks like this crept in with 69538481ea9f.

Patch

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -16,7 +16,6 @@ 
 import encoding
 import crecord as crecordmod
 import lock as lockmod
-import crecord as crecordmod
 
 def parsealiases(cmd):
     return cmd.lstrip("^").split("|")