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 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.

But you are in the middle of the merge and do not support 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

To try it, just copy a copy of the other workspace (i.e. copy the original folder in which .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.

Alternatively, you can clone the project using the hg clone . If the changes have already gone wrong in the project, you can exclude them from -r .

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -