Mercurial > hg-stable
changeset 15503:eb5ed02d8743
forget: use forward slashes for internal paths
forget into a subrepo failed on windows because pathes were joined with \.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 15 Nov 2011 02:44:55 +0100 |
parents | 7917a104a285 |
children | 7ee7b7426aad |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Nov 11 01:25:47 2011 +0100 +++ b/mercurial/commands.py Tue Nov 15 02:44:55 2011 +0100 @@ -2446,7 +2446,7 @@ submatch = matchmod.narrowmatcher(subpath, m) for fsub in sub.walk(submatch): if submatch.exact(fsub): - subforget[os.path.join(subpath, fsub)] = (fsub, sub) + subforget[subpath + '/' + fsub] = (fsub, sub) except error.LookupError: ui.status(_("skipping missing subrepository: %s\n") % subpath)