Can I split a Mercurial repository?
The best way to do this is using the 'convert' extension. You'll use mercurial and both source and destination type and then use a --filemap
with entries like:
exclude path/you/do/not/want
rename path/you/do/want .
The rename is only necessary if you want to take the parts you're keeping and move them "higher" in the directory hierarchy.