mercurial/subrepo.py
branchstable
changeset 15723 1581da01d5c4
parent 15531 0810ccc51f0a
child 15735 5b384b7f48d5
equal deleted inserted replaced
15722:417127af3996 15723:1581da01d5c4
    90                     src = remap(src)
    90                     src = remap(src)
    91                 else:
    91                 else:
    92                     src = remapped
    92                     src = remapped
    93 
    93 
    94         src = remap(src)
    94         src = remap(src)
    95         state[path] = (src.strip(), rev.get(path, ''), kind)
    95         state[util.pconvert(path)] = (src.strip(), rev.get(path, ''), kind)
    96 
    96 
    97     return state
    97     return state
    98 
    98 
    99 def writestate(repo, state):
    99 def writestate(repo, state):
   100     """rewrite .hgsubstate in (outer) repo with these subrepo states"""
   100     """rewrite .hgsubstate in (outer) repo with these subrepo states"""