I have been happily using HgSubversion for awhile and today I forgot to add the --svn to the rebase command.
Now i get the dreaded unknown revision ”
Is there a way to recover from this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’d try using the
transplantextension to fix this:For example – fixing an
hgsubversionrepo calledproject:Then examine the log of your original project folder and do the following from the
project-tmpfolder:Where
1234is the revision that you want to move over. Repeat this until all your revisions are copied.When you’re done you should be able to start using the new folder in place of the old folder by re-pulling from SVN, rebasing your changes and push them back (don’t forget –svn)