comparison mercurial/verify.py @ 25991:d21d1774c73b

verify: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 18:48:10 -0700
parents c55eac3f388d
children 56b2bcea2529
comparison
equal deleted inserted replaced
25990:c3efcdba08ea 25991:d21d1774c73b
3 # Copyright 2006, 2007 Matt Mackall <mpm@selenic.com> 3 # Copyright 2006, 2007 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from node import nullid, short 8 from __future__ import absolute_import
9 from i18n import _ 9
10 import os 10 import os
11 import revlog, util, error 11
12 from .i18n import _
13 from .node import (
14 nullid,
15 short,
16 )
17
18 from . import (
19 error,
20 revlog,
21 util,
22 )
12 23
13 def verify(repo): 24 def verify(repo):
14 lock = repo.lock() 25 lock = repo.lock()
15 try: 26 try:
16 return _verify(repo) 27 return _verify(repo)