version control - How do I revert a hg rollback? -
It may look silly but when I wanted to return an HG merge command, I released "HG Rollback".
Later I realized that I would have to use "Hg Update-CR-R". To clean merged but unlimited changes.
Now I want my last commitment to be back. Is this possible?
Perhaps But you are in the middle of the merge and do not support To try it, just copy a copy of the other workspace (i.e. copy the original folder in which Alternatively, you can clone the project using the hg commit as opposed to
hg rollback is. If you can not add / remove any files with
hg add /
delete /
addremove , then
hg commit < / Code> Play more should give you the state before the rollback.
hg commit
- dryRun , so I'm aware that in this case what will happen. You may get an error, but I'm not not sure
.hg folder). This is your entire project, you can try to fix the mess in the copy. If something breaks out, you can always delete the copy and try something else.
hg clone . If the changes have already gone wrong in the project, you can exclude them from
-r .
Comments
Post a Comment