Hi Victor,

Here's what I would do.  If there's a better way maybe this will
prompt somebody to pony it up.  This assumes all your changes are
under SAGE_ROOT/devel/sage.

Lots more details are in http://www.sagemath.org/doc/developer/walk_through.html
This is an expanded version of the "Upgrading Sage with queues
present" section

1.  Set yourself up to use Mercurial queues.

2.  cd SAGE_ROOT/devel/sage

3.  hg qnew -f all-my-changes.patch

4.  hg qrefresh (maybe not needed)

5.  Look in  SAGE_ROOT/devel/sage/.hg/patches
    for the file  all-my-changes.patch  and inspect it
    with a text editor or the "more" utility to
    see if it looks like it has your work in it.
    k3diff, kompare are also good utilities for
    looking at this

6.  hg qpop
    This will move all your changes out of the way
    and restore your tree to its natural state

7.  cd SAGE_ROOT
    ./sage -upgrade <path-from sage-release-list/group>
    This updates Sage to current version

8.  cd SAGE_ROOT/devel/sage
    hg qpush
    This puts your changes back

9.  cd SAGE_ROOT
    ./sage -b
    Rebuild, recompile changed files

In (8) you run the risk the update has changes in the same places
where you were working.  In this case you will get "rejects" that
you will need to fix up manually.

I hope this helps, but maybe you want to make a full backup before you
start?

Rob

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to