Hi Michael,
I am not sure if this functionality is exposed through the SAGE, but  
you can definitely do it just by using the mercurial tool itself (my  
preferred way of doing things anyways).

Do this:
hg export revA:revB

i.e. hg export 4428:4429 > mypatch.patch

Make sure that you are cd'ed into your branch first before doing this.

Cheers,
Yi

On May 12, 2007, at 1:23 PM, Michel wrote:

>
> Ok I made some local changes that fixes this problem but I am at a
> loss
> how to proceed.
>
> I made my own repository, applied and comitted the changes. Now how
> do I generate a patch from this?
>
> hg_sage.bundle
>
> generates a binary file and I don't know what's in there so I don't
> trust it.
>
> hg_sage.export generates a patch for every revision.
>
> Is there a command that generates a single nice text patch for the
> difference between two revisions?
>
> Michel
>
>
> On May 12, 12:46 pm, Michel <[EMAIL PROTECTED]> wrote:
>> The following crashes sage 2.5.0.2!
>>
>> sage: floor(RR(+infinity))
>> get_z.c:35:  assertion failed: (!(((r)->_mpfr_exp) == (((-2147483647L
>> - 1L))+2)) && !(((r)->_mpfr_exp) == (((-2147483647L - 1L))+3)))
>> //usr/local/sage/local/bin/sage-sage: line 167: 18419
>> Aborted                 sage-ipython -c "$SAGE_STARTUP_COMMAND;" "$@"
>>
>> There are variants with ceil instead of floor and -infinity and NaN
>> instead of +infinity.
>> I assume the solution is not calling mpfr_floor and mpfr_ceil with an
>> infinite or NaN value.
>>
>> Michel
>
>
> >



--
http://www.yiqiang.net



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to