I have a repository with 5 sub-directories.
repo/
a/
file-a
b/
file-b
c/
file-c
d/
file-d
e/
file-e
How can I convert each sub-directory in to different repositories? (Only relevant changesets to the given sub-directory should be converted new repositories)
Use the convert extension and the
--filemap
flag (after making sure that theconvert
extension is enabled in your~/.hgrc
):