export/log, bundle (Documentation)

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Sat Feb 6 09:34:01 UTC 2010


On Sat, Feb 6, 2010 at 10:28 AM, Alexander Schatten
<ml_alexanderschatten at gmx.at> wrote:
>>
>> > (2) There is apparently no option to generate a diff over multipe
>> versions? something like (or is there?):
>> >
>> > hg export 10-15
>>
>> hg export 10:15
>>
>> Again you want to user the --output option when using this.
>>
>
> thank you very much; this was very helpful; I think, maybe also here the documentation could be improved a little bit. E.g. then 10:15 syntax was really not clear to me, but is obviously very important at that command.
>
> But also the other end (import) is not totally clear to me now; because as I understand it now, import can only handle one diff file at a time?
>
> So all in all it seems to me, that the bundle command is the better solution in many cases?!

I usually use bundles for this. They are packed, and they are, I
think, more resilient when you are sending some changesets the other
party already has (if you get a base wrong, for instance). Note there
was a fairly recent fix before which bundles could get unreasonably
large.
-parren



More information about the Mercurial mailing list