D4050: linelog: fix import statements to pass the import checker on py3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Aug 2 03:08:30 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list