Mercurial > hg
changeset 2278:3711e23ab10a
Make hg status work for repositories in root directory on windows (issue 228)
author | Manpreet Singh <junkblocker@yahoo.com> |
---|---|
date | Sat, 13 May 2006 23:00:05 -0700 |
parents | 766c3c852786 |
children | 51bfa0fd3a33 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Fri May 12 21:25:58 2006 -0700 +++ b/mercurial/util.py Sat May 13 23:00:05 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)