backout a branch

Daniel Carrera dcarrera at gmail.com
Mon Jul 5 20:38:44 UTC 2010


Hi Martín,

This should do it:

hg update -r 325
hg revert -r 321
hg update tip
hg commit -m 'Backout revisions 322 to 325'

Cheers,
Daniel.


2010/7/5 Martín Marqués <martin.marques at gmail.com>:
> I have an old branch with code that is obsolete now, and I was
> wondering how I could backout the whole branch (particularly chsets
> 322 to 325) without having to backout one changeset at a time. Here's
> the log of the chsets I want to backout (325 doesn't have childs, and
> 322 is a tag right after a merge).
>
> 325   193b95083299   2010-05-06 16:33 -0300   mmarques
>  Hacemos que el PHP tambien actue respecto a la tabla personas
>
> 324   52ab18038e12   2010-05-06 16:21 -0300   mmarques
>  Ya no es necesario el campo persona.
>
> 323   fa730d2a8aee   2010-05-06 15:38 -0300   mmarques
>  Elimino en la estructura la tabla personas, y los datos de cada
>
> 322   22a9f66b7272   2010-05-06 15:05 -0300   mmarques
>  Added tag modulo_elimino_personas for changeset 7f22a6ee7853
>
>
> Any ideas?
>
> --
> Martín Marqués
> select 'martin.marques' || '@' || 'gmail.com'
> DBA, Programador, Administrador
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



-- 
No trees were killed in the generation of this message. A large number
of electrons were, however, severely inconvenienced.



More information about the Mercurial mailing list