Thanks Kirill for doing this!

I and Kirill are going to try the mercurial, but the rest of you don't have to.
The plan now is to try using the mercurial repositories, but
committing all changes back using svn, so that you won't be touched by
this if you don't want to. When we gather enough experience with
mercurial, we'll see if it is good or not and then move the repository
to some public hosting server. More details below:

> I've managed to setup live mercurial mirrors for both SymPy and MPMATH
> projects. They are located here:
>
> http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/sympy--hg/
> http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/mpmath--hg/
>
>
> Mirrors are synced to main repositories every 10 minutes, so when you
> commit something to svn, expect changes to propagate to hg repos as
> well.
>
> The whole scheme is a bit rough. If you'll experience any problem with
> it, please let me know -- I'll try to do my best to make it work.

Maybe we could use:

http://cia.vc/stats/project/sympy

I set there up an IRC bot, that sits on #sympy at freenode and writes
a message to the chanell on each svn commit. It is triggered by the
svn mailinglist email.

> P.S. for mercurial newbies:
>
> 1. grab repositories with e.g.:
>
>   hg clone http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/sympy--hg/
>
> 2. pull changes from repo you have cloned:
>
>   hg pull -u
>
> 3. read mercurial wiki and book!
>
>   http://www.selenic.com/mercurial/wiki/
>   http://hgbook.red-bean.com/hgbook.html

I greatly recommend the hgbook - I read it today and it explains
everything, especially the motivation. Also it's interesting to watch
the Mercurial video I posted a few days ago. The wiki is more like a
cookbook.

Question 1: comparing these two pages:

http://cia.vc/stats/project/sympy
http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/sympy--hg/

you can see that the hg repository doesn't contain the 2529 and 2530
svn revisions.

Question 2: I cloned the repository, made some changes, commited (hg
ci), made some more changes, commited (hg ci). Now I can check against
the official repo:

$ hg outgoing
comparing with http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/sympy--hg/
searching for changes
changeset:   1531:91d3773e029e
user:        Ondrej Certik <[EMAIL PROTECTED]>
date:        Wed Oct 17 00:58:34 2007 +0200
summary:     removing composition doc, no longer applicable

changeset:   1532:dfeb90b18cd1
tag:         tip
user:        Ondrej Certik <[EMAIL PROTECTED]>
date:        Wed Oct 17 01:01:41 2007 +0200
summary:     removing obsoleted Apply docs


Or I can display the patches:

$ hg outgoing -p
comparing with http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/sympy--hg/
searching for changes
changeset:   1531:91d3773e029e
user:        Ondrej Certik <[EMAIL PROTECTED]>
date:        Wed Oct 17 00:58:34 2007 +0200
summary:     removing composition doc, no longer applicable

diff -r 9dd412f49083 -r 91d3773e029e sympy/core/function.py
--- a/sympy/core/function.py    Tue Oct 16 18:12:39 2007 +0000
+++ b/sympy/core/function.py    Wed Oct 17 00:58:34 2007 +0200
@@ -25,10 +25,6 @@ elementise ie (f*g)(x) is equivalent to
 elementise ie (f*g)(x) is equivalent to f(x) * g(x).
 Multiplication by a number is equivalent to multiplication
 by a constant function.
-Composition of functions is achived via Composition class@
-Eg
-
-  f+Composition(2,exp,sin) -> lambda _x: f(x)+2*exp(sin(x))

 In the above functions did not have arguments, then
 it is said that functions are in unevaluated form.

changeset:   1532:dfeb90b18cd1
tag:         tip
user:        Ondrej Certik <[EMAIL PROTECTED]>
date:        Wed Oct 17 01:01:41 2007 +0200
summary:     removing obsoleted Apply docs

diff -r 91d3773e029e -r dfeb90b18cd1 sympy/core/function.py
--- a/sympy/core/function.py    Wed Oct 17 00:58:34 2007 +0200
+++ b/sympy/core/function.py    Wed Oct 17 01:01:41 2007 +0200
@@ -41,8 +41,6 @@ object:
   fx = f(x)
   fx.func -> Function('f')
   fx[:] -> (Symbol('x'),)
-As seen above, function values are Apply instances and
-have attributes .func and [:].
 """

 from basic import Basic, Singleton, Atom, cache_it, S


How can now I easily commit it to svn? The repositories seem to be read only:

$ hg push
pushing to http://landau.phys.spbu.ru/~kirr/cgi-bin/hg.cgi/sympy--hg/
searching for changes
ssl required


Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to