#10132: Differential Geometry via Sage
------------------------------------+---------------------------------------
Reporter: mikarm | Owner: mhampton
Type: enhancement | Status: needs_work
Priority: major | Milestone:
Component: geometry | Keywords: differential geometry,
parametrized surface
Author: Mikhail Malakhaltsev | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------------+---------------------------------------
Comment(by jvkersch):
Hi Mikhail,
Sorry for the late reply -- I too was at a conference, and then I had to
grade the exams for my class.
As for the problems with the patch, I think this is due to the fact that
you applied both patches simultaneously. Normally, if you start from a
clean Sage install, you can just apply
`trac_10132_diff_geom_sage_doctests.patch` and this should have all the
changes and build without problems (tested in Sage 4.6).
In general, I find it easier to work with Mercurial queues (see
http://www.sagemath.org/doc/developer/walk_through.html#being-more-
efficient-mercurial-queues). After setting up the queue system, you can
then apply and unapply patches by simply typing `hg qpush` and `hg qpop`.
Just as an illustration, after setting up hg, here is how I would apply
the differential geometry patch: in `$SAGE_ROOT/devel/sage`, do
{{{
hg qnew [name that I want to use for myself]
patch -p1 [path to the patch]
}}}
This imports the patch. Doing `./sage -b` then rebuilds the system. After
making changes I would then do the following to create a new patch:
{{{
hg qrefresh
hg export tip > [path to the new patch]
}}}
While making changes, you can do `hg status` to see which files have been
modified. If you're not happy with the patch or if you want to put
development aside while working on something else, you can do `hg qpop` to
temporarily put the patch aside. `hg qpush`` then restores the patch (but
in each case do `./sage -b` to rebuild the system).
I hope this helps -- please let me know if you have further questions!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10132#comment:30>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.