From a73a964e51247ed169d322c725a3a18859f109a3 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Mon, 14 Jun 2021 00:00:37 +0000 Subject: python, hg: tow outside the environment. they've served us well, and can ride off into the sunset. --- sys/lib/python/mercurial/node.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 sys/lib/python/mercurial/node.py (limited to 'sys/lib/python/mercurial/node.py') diff --git a/sys/lib/python/mercurial/node.py b/sys/lib/python/mercurial/node.py deleted file mode 100644 index 2a3be39c1..000000000 --- a/sys/lib/python/mercurial/node.py +++ /dev/null @@ -1,18 +0,0 @@ -# node.py - basic nodeid manipulation for mercurial -# -# Copyright 2005, 2006 Matt Mackall -# -# This software may be used and distributed according to the terms of the -# GNU General Public License version 2, incorporated herein by reference. - -import binascii - -nullrev = -1 -nullid = "\0" * 20 - -# This ugly style has a noticeable effect in manifest parsing -hex = binascii.hexlify -bin = binascii.unhexlify - -def short(node): - return hex(node[:6]) -- cgit v1.2.3