SOLVED (was: several rev, one patch exclude branch)

Hannes Oldenburg hannes.christian.oldenburg at gmail.com
Sun Aug 14 20:27:39 UTC 2016


Using revsets you could use:
hg export -r "6826::6831"
See: hg help "revsets.x::y"


On Sun, Aug 14, 2016 at 7:51 AM, Uwe Brauer <oub at mat.ucm.es> wrote:

> >>> "Uwe" == Uwe Brauer <oub at mat.ucm.es> writes:
>
>    > Hello
>
>
>    > I want to generate a patch which covers rev 6828 till 6831 but
> excludes
>    > 6830 and 6829 because it is on a branch.
>    > How can I do that?
>    > hg export -g -r 6831:6828
>
> Sorry for the noise.
> hg export 6831 6828 6827 6826 > my.patch
>
> Does precisely what I want.
>
> Uwe Brauer
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20160814/ff243564/attachment-0002.html>


More information about the Mercurial mailing list