branch | stable |
changeset 15355 | dbdb777502dc |
parent 8529 | a767998f0a78 |
child 15381 | c519cd8f0169 |
--- a/tests/test-hgwebdir-paths.py Mon Oct 24 13:54:59 2011 +0200 +++ b/tests/test-hgwebdir-paths.py Mon Oct 24 13:51:24 2011 +0200 @@ -1,11 +1,11 @@ import os -from mercurial import hg, ui +from mercurial import hg, ui, util from mercurial.hgweb.hgwebdir_mod import hgwebdir os.mkdir('webdir') os.chdir('webdir') -webdir = os.path.realpath('.') +webdir = util.realpath('.') u = ui.ui() hg.repository(u, 'a', create=1)