سؤال

I've recently committed a whole load of files I didn't mean to, and backed out. Realising I've removed all the changes, I updated to the revision with the "committed files" before the backout. But I can re-commit them as changed files.

Is it possible to backout of a backout?

هل كانت مفيدة؟

المحلول

If you have MqExtension installed, you can simply hg strip any commits you don't want, although you should only really do this if you haven't yet pushed them. This is often easier and tidier than trying to commit a series of backouts to get back to where you want to be.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top