Question

For some reasons ,I messed up my old repository and I created a new repository. How to transfer my Mercurial log to the new repository(only the log not any other things).

Was it helpful?

Solution

You cannot transfer just your "log", the log is the history of your repo, if the commits are not there, you won't get the corresponding log.

You need to clone or convert your repo to create a new one. If you "messed" it up, there could be a way to fix it, or at least just clone it up to a certain revision where everything was still good. Once that is done, cherry-pick the missing revisions, if necessary.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top