# HG changeset patch # User Vadim Gelfer # Date 1147586446 25200 # Node ID 51bfa0fd3a33c240e235bbdcab7e353b0c64f94a # Parent 3711e23ab10a44d6b694920ece190f4c5e3eae7c# Parent 066d0055e43008118037f7c352f0f6cfd5ce58bd merge with crew. diff -r 066d0055e430 -r 51bfa0fd3a33 mercurial/util.py --- a/mercurial/util.py Sat May 13 20:41:53 2006 +0200 +++ b/mercurial/util.py Sat May 13 23:00:46 2006 -0700 @@ -213,7 +213,7 @@ if not os.path.isabs(name): name = os.path.join(root, cwd, name) name = os.path.normpath(name) - if name.startswith(rootsep): + if name != rootsep and name.startswith(rootsep): name = name[len(rootsep):] audit_path(name) return pconvert(name)