On 8/13/07, John Cremona <[EMAIL PROTECTED]> wrote:
> Upgrade question: I have been editing two .gp scripts (in
> data/extcode/pari/simon) and two .py scripts (in
> devel/sage-main/sage/schemes/elliptic_curves and
> devel/sage-main/sage/schemes/elliptic_curves) with a view to providing
> a patch soon. If I do "sage -upgrade" now will those be overwritten?
> And in any case should I have been doing this differently than editing
> those files in place (and running "sage -b" after each change to
> test)?
Editing those files in place is the way to go. Just make sure to check in
your changes, e.g., by doing "hg_sage.ci()" before doing "sage -upgrade".
What will happen is that during "sage -upgrade" your changes will be
*merged* with the new version of SAGE.
Alternatively, you can do
sage -clone myver
and get a clone devel/sage-myver/. This won't be touched during
"sage -upgrade", no matter what -- "sage -upgrade" only touches
devel/sage-main/.
William
> Related question:
> devel/sage-main/sage/schemes/elliptic_curves/ell_rational_field.py is
> rather long (over 5000 lines); there is a case for splitting it up.
> Not least because runing "sage -t" on it takes several minutes, and
> only a few tests are relevant since most of that file is untouched
I've been meaning to split that file up for a long time, in some logical
way. Does anybody want to do this?
William
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---