# HG changeset patch # User Gregory Szorc # Date 1439089846 25200 # Node ID fa91c49a9b9fc790a4eaabb042debbd683f9a62d # Parent 38c585c2f8cc507730ceb44ebb0c7e742910234d tagmerge: use absolute_import diff -r 38c585c2f8cc -r fa91c49a9b9f mercurial/tagmerge.py --- a/mercurial/tagmerge.py Sat Aug 08 20:03:58 2015 -0700 +++ b/mercurial/tagmerge.py Sat Aug 08 20:10:46 2015 -0700 @@ -71,11 +71,20 @@ # - put blocks whose nodes come all from p2 first # - write the tag blocks in the sorted order -import tags as tagsmod -import util -from node import nullid, hex -from i18n import _ +from __future__ import absolute_import + import operator + +from .i18n import _ +from .node import ( + hex, + nullid, +) +from .import ( + tags as tagsmod, + util, +) + hexnullid = hex(nullid) def readtagsformerge(ui, repo, lines, fn='', keeplinenums=False):