Mercurial > hg
changeset 2279:51bfa0fd3a33
merge with crew.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 13 May 2006 23:00:46 -0700 |
parents | 3711e23ab10a (diff) 066d0055e430 (current diff) |
children | 09ed44225571 7761597b5da3 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)