I want to split a repository

Eric M. Hopper hopper at omnifarious.org
Sun Sep 6 16:07:37 CDT 2009


I have a subdirectory of a repository that should be its own repository.
I would like to split that subdirectory out into a new repository that
still has the history of changes to it.  I realize the new reppository
will necessarily have all new hashes as well, but at least all the other
details of the changes will be approximately the same.

Is there an 'approved' method of doing this?

One method would be to export all the patch sets containing changes to
the subdirectory, then re-import them, handling merges specially.  This
seems laborious and error prone and I'm hoping there's a better way I
haven't thought of and/or don't know about.

Thanks,
-- 
A word is nothing more or less than the series of historical
connotations given to it. That's HOW we derive meaning, and to claim
that there is an arbitrary meaning of words above and beyond the way
people use them is a blatant misunderstanding of the nature of language.
-- Anonymous blogger
-- Eric Hopper (hopper at omnifarious.org http://www.omnifarious.org/~hopper)--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 664 bytes
Desc: This is a digitally signed message part
Url : http://selenic.com/pipermail/mercurial/attachments/20090906/8f99b7d9/attachment.pgp 


More information about the Mercurial mailing list