Why backout, not revert?

Benoit Boissinot bboissin at gmail.com
Tue Mar 25 07:42:48 CDT 2008


On Tue, Mar 25, 2008 at 10:37 AM, Marcin Kasperski
<Marcin.Kasperski at softax.com.pl> wrote:
>
>  Are there any noticeable advantages of using backout instead of revert?
>
>  (by using revert I mean
>      hg revert -r BeforeIStartedThisBadIdea
>      hg commit -m "Giving up the flawed concept"
>  )
>

It is very close, the only difference will be if there are several
revs after the faulty cset,
then backout will automatically try to merge after the revert.
And it is just one command instead of two :)

regards,

Benoit


More information about the Mercurial mailing list