mercurial/upgrade_utils/engine.py
changeset 46780 6266d19556ad
parent 46526 67b5fafd3a46
child 46794 e2f7b2695ba1
equal deleted inserted replaced
46779:49fd21f32695 46780:6266d19556ad
    34     """
    34     """
    35     if path == b'00changelog.i':
    35     if path == b'00changelog.i':
    36         return changelog.changelog(repo.svfs)
    36         return changelog.changelog(repo.svfs)
    37     elif path.endswith(b'00manifest.i'):
    37     elif path.endswith(b'00manifest.i'):
    38         mandir = path[: -len(b'00manifest.i')]
    38         mandir = path[: -len(b'00manifest.i')]
    39         return manifest.manifestrevlog(repo.svfs, tree=mandir)
    39         return manifest.manifestrevlog(
       
    40             repo.nodeconstants, repo.svfs, tree=mandir
       
    41         )
    40     else:
    42     else:
    41         # reverse of "/".join(("data", path + ".i"))
    43         # reverse of "/".join(("data", path + ".i"))
    42         return filelog.filelog(repo.svfs, path[5:-2])
    44         return filelog.filelog(repo.svfs, path[5:-2])
    43 
    45 
    44 
    46