# HG changeset patch # User Anton Shestakov # Date 1615711849 -28800 # Node ID 689b384168fd504cbd721d40e423da1aa7d6b3ae # Parent 64082dc8888ab3536b3da0bffc0111cfbdb20af1 evolve: import mercurial.i18n._ first There seems to be a rule for this somewhere, but I can't find it at the moment. diff -r 64082dc8888a -r 689b384168fd hgext3rd/evolve/depthcache.py --- a/hgext3rd/evolve/depthcache.py Sun Mar 14 16:48:41 2021 +0800 +++ b/hgext3rd/evolve/depthcache.py Sun Mar 14 16:50:49 2021 +0800 @@ -11,6 +11,7 @@ import array +from mercurial.i18n import _ from mercurial import ( localrepo, scmutil, @@ -26,8 +27,6 @@ utility, ) -from mercurial.i18n import _ - filterparents = utility.filterparents eh = exthelper.exthelper() diff -r 64082dc8888a -r 689b384168fd hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py Sun Mar 14 16:48:41 2021 +0800 +++ b/hgext3rd/evolve/obsdiscovery.py Sun Mar 14 16:50:49 2021 +0800 @@ -22,6 +22,7 @@ import struct import weakref +from mercurial.i18n import _ from mercurial import ( encoding, error, @@ -34,7 +35,6 @@ store, util, ) -from mercurial.i18n import _ from mercurial.utils.stringutil import forcebytestr diff -r 64082dc8888a -r 689b384168fd hgext3rd/evolve/stablerangecache.py --- a/hgext3rd/evolve/stablerangecache.py Sun Mar 14 16:48:41 2021 +0800 +++ b/hgext3rd/evolve/stablerangecache.py Sun Mar 14 16:50:49 2021 +0800 @@ -14,6 +14,7 @@ import sqlite3 import time +from mercurial.i18n import _ from mercurial import ( commands, encoding, @@ -34,8 +35,6 @@ utility, ) -from mercurial.i18n import _ - eh = exthelper.exthelper() LONG_WARNING_TIME = 60 diff -r 64082dc8888a -r 689b384168fd hgext3rd/evolve/stablesort.py --- a/hgext3rd/evolve/stablesort.py Sun Mar 14 16:48:41 2021 +0800 +++ b/hgext3rd/evolve/stablesort.py Sun Mar 14 16:50:49 2021 +0800 @@ -250,6 +250,7 @@ import collections import struct +from mercurial.i18n import _ from mercurial import ( commands, error, @@ -262,8 +263,6 @@ from mercurial.utils.stringutil import forcebytestr -from mercurial.i18n import _ - from . import ( compat, depthcache,