Mercurial > hg
comparison hgext/blackbox.py @ 28090:8113c88b8e6d
blackbox: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 09 Feb 2016 17:30:38 -0800 |
parents | 14033c5dd261 |
children | 45313f5a3a8c |
comparison
equal
deleted
inserted
replaced
28089:a1163ee26e4a | 28090:8113c88b8e6d |
---|---|
27 # rotate up to N log files when the current one gets too big | 27 # rotate up to N log files when the current one gets too big |
28 maxfiles = 3 | 28 maxfiles = 3 |
29 | 29 |
30 """ | 30 """ |
31 | 31 |
32 from mercurial import util, cmdutil | 32 from __future__ import absolute_import |
33 | |
34 import errno | |
35 import re | |
36 | |
33 from mercurial.i18n import _ | 37 from mercurial.i18n import _ |
34 import errno, re | 38 from mercurial import ( |
39 cmdutil, | |
40 util, | |
41 ) | |
35 | 42 |
36 cmdtable = {} | 43 cmdtable = {} |
37 command = cmdutil.command(cmdtable) | 44 command = cmdutil.command(cmdtable) |
38 # Note for extension authors: ONLY specify testedwith = 'internal' for | 45 # Note for extension authors: ONLY specify testedwith = 'internal' for |
39 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | 46 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |