diff 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
line wrap: on
line diff
--- a/hgext/convert/darcs.py	Mon Oct 24 13:54:59 2011 +0200
+++ b/hgext/convert/darcs.py	Mon Oct 24 13:51:24 2011 +0200
@@ -45,7 +45,7 @@
         if ElementTree is None:
             raise util.Abort(_("Python ElementTree module is not available"))
 
-        self.path = os.path.realpath(path)
+        self.path = util.realpath(path)
 
         self.lastrev = None
         self.changes = {}