D4050: linelog: fix import statements to pass the import checker on py3

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Aug 2 00:25:54 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb9974f2ef9b1: linelog: fix import statements to pass the import checker on py3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4050?vs=9773&id=9775

REVISION DETAIL
  https://phab.mercurial-scm.org/D4050

AFFECTED FILES
  mercurial/linelog.py

CHANGE DETAILS

diff --git a/mercurial/linelog.py b/mercurial/linelog.py
--- a/mercurial/linelog.py
+++ b/mercurial/linelog.py
@@ -23,12 +23,12 @@
 import abc
 import struct
 
-from mercurial import (
-    pycompat,
-)
 from .thirdparty import (
     attr,
 )
+from . import (
+    pycompat,
+)
 
 _llentry = struct.Struct('>II')
 



To: durin42, #hg-reviewers, martinvonz
Cc: mercurial-devel


More information about the Mercurial-devel mailing list