diff -r 762f4c6df6b1 -r b723f05ec49b mercurial/strutil.py --- a/mercurial/strutil.py Sat Aug 08 20:11:08 2015 -0700 +++ b/mercurial/strutil.py Sat Aug 08 20:01:40 2015 -0700 @@ -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)