# HG changeset patch # User Gregory Szorc # Date 2015-08-09 03:01:40 # Node ID b723f05ec49b5a5cf09bf3887d40787c052c9e2f # Parent 762f4c6df6b1ad27d51bdf4ae7be750231ac50dd strutil: use absolute_import This file doesn't import anything. But chances are we'll eventually implement a static analysis check that ensures absolute_import is used. So we might as well add this. diff --git a/mercurial/strutil.py b/mercurial/strutil.py --- a/mercurial/strutil.py +++ b/mercurial/strutil.py @@ -5,6 +5,8 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +from __future__ import absolute_import + def findall(haystack, needle, start=0, end=None): if end is None: end = len(haystack)