bring two repositories back together

John Stean john at phpcommando.co.uk
Mon May 16 12:59:10 UTC 2011


Hello, 

Hope I can explain this clearly - this is what we did: 

1) Repository A has contained our codebase for some time, but we wanted a lengthy "branch" project 
2) Rightly or wrongly, we cloned repository A into a new repository, repository B, so they both were identical 
3) We continued committing to repository A, but also pulled ALL those changed into repository B so B always contained A's changes 
4) We also added to repository B 
5) Now we are finished with the project in B, we want to make repository A = repository B 

SO Ideally I just want repository A to become exactly repository B - mainly for naming conventions more than anything as the production site points at repository A. 

Would I just change the path in repository A hgrc file to = path to repository B, then update -C, then change the path name back to repository A? 

Really hope that you can help - should I be doing this a different way? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20110516/09a467a6/attachment.html>


More information about the Mercurial mailing list