diff tests/test-hgwebdir-paths.py @ 15381:c519cd8f0169 stable

backout dbdb777502dc (issue3077) (issue3071) Using util.realpath turns out to create complex issues on both Mac and Windows. Back this change out for the release.
author Matt Mackall <mpm@selenic.com>
date Sat, 29 Oct 2011 11:02:23 -0500
parents dbdb777502dc
children 4eac86331acb
line wrap: on
line diff
--- a/tests/test-hgwebdir-paths.py	Fri Oct 28 15:00:21 2011 +0200
+++ b/tests/test-hgwebdir-paths.py	Sat Oct 29 11:02:23 2011 -0500
@@ -1,11 +1,11 @@
 import os
-from mercurial import hg, ui, util
+from mercurial import hg, ui
 from mercurial.hgweb.hgwebdir_mod import hgwebdir
 
 os.mkdir('webdir')
 os.chdir('webdir')
 
-webdir = util.realpath('.')
+webdir = os.path.realpath('.')
 
 u = ui.ui()
 hg.repository(u, 'a', create=1)