From 2bb173ef68ab8de11b7d161eced3575f776c322b Mon Sep 17 00:00:00 2001 From: Daniel Small Date: Mon, 6 Aug 2018 15:08:29 +1000 Subject: [PATCH] hg 4.7: Replace call to util.email with templatefilters.email This change is required for Mercurial 4.7 support and fixes #137. --- hg2git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hg2git.py b/hg2git.py index 49368f8..5d74a75 100755 --- a/hg2git.py +++ b/hg2git.py @@ -49,7 +49,7 @@ def fixup_user(user,authors): # and mail from hg helpers. this seems to work pretty well. # if email doesn't contain @, replace it with devnull@localhost name=templatefilters.person(user) - mail='<%s>' % util.email(user) + mail='<%s>' % templatefilters.email(user) if '@' not in mail: mail = '' else: -- 2.11.4.GIT