comparison hgext/schemes.py @ 28379:27a9032374a7

schemas: use absolute_import
author timeless <timeless@mozdev.org>
date Wed, 02 Mar 2016 21:33:55 +0000
parents bf1d5c223ac0
children a0939666b836
comparison
equal deleted inserted replaced
28378:96a7368a79b6 28379:27a9032374a7
37 kiln = https://{1}.kilnhg.com/Repo/ 37 kiln = https://{1}.kilnhg.com/Repo/
38 38
39 You can override a predefined scheme by defining a new scheme with the 39 You can override a predefined scheme by defining a new scheme with the
40 same name. 40 same name.
41 """ 41 """
42 from __future__ import absolute_import
42 43
43 import os, re 44 import os
44 from mercurial import extensions, hg, templater, util, error, cmdutil 45 import re
46 from mercurial import (
47 cmdutil,
48 error,
49 extensions,
50 hg,
51 templater,
52 util,
53 )
45 from mercurial.i18n import _ 54 from mercurial.i18n import _
46 55
47 cmdtable = {} 56 cmdtable = {}
48 command = cmdutil.command(cmdtable) 57 command = cmdutil.command(cmdtable)
49 # Note for extension authors: ONLY specify testedwith = 'internal' for 58 # Note for extension authors: ONLY specify testedwith = 'internal' for