How to break connection between a clone repository and its parent

Posted by nc97217 on Stack Overflow See other posts from Stack Overflow or by nc97217
Published on 2010-04-01T04:34:24Z Indexed on 2010/04/01 4:43 UTC
Read the original article Hit count: 238

Filed under:

I have some (local) repositories, an original and some clones. The original repository has been corrupted so I'd like to get rid of it and use one of the clones as the master for future development.

Is there a better way to break the connection between the new master and the original repository than simply deleting the default entry in the [paths] section of that clone's hgrc?

Similarly, in the other clones, can I simply change the default entry in their hgrc files' [paths] section to point to the new master repository?

© Stack Overflow or respective owner

Related posts about mercurial