comparison hgext/convert/darcs.py @ 15355:dbdb777502dc stable

consistency: use util.realpath instead of os.path.realpath where useful exceptions: hg: os.path.realpath used before util can be imported tests/run-tests.py: may not import mercurial modules
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 24 Oct 2011 13:51:24 +0200
parents 135e244776f0
children c519cd8f0169
comparison
equal deleted inserted replaced
15354:42630f54e513 15355:dbdb777502dc
43 version) 43 version)
44 44
45 if ElementTree is None: 45 if ElementTree is None:
46 raise util.Abort(_("Python ElementTree module is not available")) 46 raise util.Abort(_("Python ElementTree module is not available"))
47 47
48 self.path = os.path.realpath(path) 48 self.path = util.realpath(path)
49 49
50 self.lastrev = None 50 self.lastrev = None
51 self.changes = {} 51 self.changes = {}
52 self.parents = {} 52 self.parents = {}
53 self.tags = {} 53 self.tags = {}