Jon, Try adding
--remotecmd="/path/to/hg" to your pull/push commands. (See "man hg " for more.) This works for me: I use the ssh:// prefix for the remote repository on a machine where I have password-less ssh login and it works fine. John On 5 January 2011 06:42, jonha...@gmail.com <jonha...@gmail.com> wrote: > Hi, > > I'm trying to setup the ability to push/pull from a remote Sage > mercurial repository, but am having trouble with the installation on > the remote machine. For the moment let's say that I don't have root > access (I do, but only via the make command), and have python 2.4 and > mercurial installed in the ~/local directory. My ~/.bash_profile > looks like > > export PATH=${HOME}/local/bin:${PATH} > export PYTHONPATH=${HOME}/local/lib64/python2.4/site-packages > export PATH=${PATH}:${HOME}/local/mercurial-1.4.1:${HOME}/local/ > mercurial-1.4.1/mercurial > > and "which hg" gives > > ~/local/bin/hg > > but when I run a sage.pull() it can't find the mercurial to use: > > sage: hg_sage.pull() > cd "/Users/jonhanke/Documents/SAGE/sage-4.6/devel/sage" && hg > status > cd "/Users/jonhanke/Documents/SAGE/sage-4.6/devel/sage" && hg > status > cd "/Users/jonhanke/Documents/SAGE/sage-4.6/devel/sage" && hg pull > -u > ssh://jonha...@parsley.math.uga.edu//sage-4.6/devel/sage-maximal-lattices/sage-maximal-lattices/ > jonha...@parsley.math.uga.edu's password: > remote: abort: couldn't find mercurial libraries in [/usr/local/ > bin /usr/lib64/python24.zip /usr/lib64/python2.4 /usr/lib64/python2.4/ > plat-linux2 /usr/lib64/python2.4/lib-tk /usr/lib64/python2.4/lib- > dynload /usr/lib64/python2.4/site-packages /usr/lib64/python2.4/site- > packages/Numeric /usr/lib64/python2.4/site-packages/PIL /usr/lib64/ > python2.4/site-packages/gst-0.10 /usr/lib64/python2.4/site-packages/ > gtk-2.0 /usr/lib/python2.4/site-packages] > remote: (check your install and PYTHONPATH) > abort: no suitable response from remote hg! > If it says use 'hg merge' above, then you should > type hg_sage.merge(). > > Is there Sage a setup howto somewhere for getting this to work? Any > comments are appreciated. Thanks, > > -Jon > =) > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org