Patchwork dirstate: remove double imports of errno

login
register
mail settings
Submitter Yuya Nishihara
Date March 3, 2014, 6:57 a.m.
Message ID <050aca662c660b609069.1393829831@gimlet>
Download mbox | patch
Permalink /patch/3829/
State Accepted
Commit e993f065e17ce449ced42dff4e03f6fbd284df11
Headers show

Comments

Yuya Nishihara - March 3, 2014, 6:57 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1393829441 -32400
#      Mon Mar 03 15:50:41 2014 +0900
# Node ID 050aca662c660b60906992c0e873db7fcd57157c
# Parent  1bc68ff4e0a26bd079e7d4f4025f4b91cc85cc11
dirstate: remove double imports of errno
Matt Mackall - March 3, 2014, 8:39 p.m.
On Mon, 2014-03-03 at 15:57 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1393829441 -32400
> #      Mon Mar 03 15:50:41 2014 +0900
> # Node ID 050aca662c660b60906992c0e873db7fcd57157c
> # Parent  1bc68ff4e0a26bd079e7d4f4025f4b91cc85cc11
> dirstate: remove double imports of errno

Queued for default, thanks.

Patch

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -4,7 +4,6 @@ 
 #
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
-import errno
 
 from node import nullid
 from i18n import _