changeset 24634:4ece2847cf4c

parsers: remove unused dependency on util Parsers.py had a reference to util.sha1 which was unused. This commit removes this reference as well as the unused import of util to simplify the dependency graph. This is important for the next commit which actually relocates part of a module to eliminate a cycle.
author Drew Gottlieb <drgott@google.com>
date Mon, 06 Apr 2015 13:59:36 -0700
parents 2f8f7cc6a53b
children 21e1ece30f8c
files mercurial/pure/parsers.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/pure/parsers.py	Mon Apr 06 17:03:35 2015 -0700
+++ b/mercurial/pure/parsers.py	Mon Apr 06 13:59:36 2015 -0700
@@ -6,14 +6,12 @@
 # GNU General Public License version 2 or any later version.
 
 from mercurial.node import nullid
-from mercurial import util
 import struct, zlib, cStringIO
 
 _pack = struct.pack
 _unpack = struct.unpack
 _compress = zlib.compress
 _decompress = zlib.decompress
-_sha = util.sha1
 
 # Some code below makes tuples directly because it's more convenient. However,
 # code outside this module should always use dirstatetuple.