diff -r 9b0efacd7745 -r 5b384b7f48d5 mercurial/subrepo.py --- a/mercurial/subrepo.py Mon Dec 26 18:07:49 2011 -0600 +++ b/mercurial/subrepo.py Mon Dec 26 18:08:20 2011 -0600 @@ -92,7 +92,7 @@ src = remapped src = remap(src) - state[path] = (src.strip(), rev.get(path, ''), kind) + state[util.pconvert(path)] = (src.strip(), rev.get(path, ''), kind) return state