comparison hgext/notify.py @ 28416:d3c8183f429e

notify: use absolute_import
author timeless <timeless@mozdev.org>
date Wed, 02 Mar 2016 21:48:08 +0000
parents 56b2bcea2529
children 1bba1b43525a
comparison
equal deleted inserted replaced
28415:21524ae331b7 28416:d3c8183f429e
130 web.baseurl 130 web.baseurl
131 Root repository URL to combine with repository paths when making 131 Root repository URL to combine with repository paths when making
132 references. See also ``notify.strip``. 132 references. See also ``notify.strip``.
133 133
134 ''' 134 '''
135 135 from __future__ import absolute_import
136 import email, socket, time 136
137 import email
138 import fnmatch
139 import socket
140 import time
141
142 from mercurial import (
143 cmdutil,
144 error,
145 mail,
146 patch,
147 util,
148 )
137 from mercurial.i18n import _ 149 from mercurial.i18n import _
138 from mercurial import patch, cmdutil, util, mail, error
139 import fnmatch
140 150
141 # Note for extension authors: ONLY specify testedwith = 'internal' for 151 # Note for extension authors: ONLY specify testedwith = 'internal' for
142 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 152 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
143 # be specifying the version(s) of Mercurial they are tested with, or 153 # be specifying the version(s) of Mercurial they are tested with, or
144 # leave the attribute unspecified. 154 # leave the attribute unspecified.