installing 1.4.2

John Francis Lee jfl at uspvp.org
Tue Jan 12 18:43:03 CST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt Mackall wrote:
> On Tue, 2010-01-12 at 16:56 +0700, John Francis Lee wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Nicolas Dumazet wrote:
>>> Sorry for this messy email:
>>>
>>> 2010/1/12 Nicolas Dumazet <nicdumz at gmail.com>:
>>> [..]
>>>> You OS, and the detail that you are installing from source is
>>>> important: others could have messed up packaging for example.
>>> Your*
>>>
>>>> Anyway.
>>>> The code to display the version number is fairly simple:
>>>>
>>>>  try:
>>>>    import __version__
>>>>    return __version__.simple
>>> this is "return __version__.version" of course.
>>>
>>> Thanks,
>>>
>>>>  except ImportError:
>>>>    return "unknown"
>>>>
>>>> It is a hint in favor of a configuration error on your side, and more
>>>> likely, a PATH issue.
>>>>
>>>> Could you please double-deck that PATH, and PYTHONPATH, both
>>>>  a) include the paths to your hg executable and libs
>>>>  b) do not conflict with a possible system-wide .deb-installed hg?
>>>>
>>>> the __version__.py file you checked might not be the one accessed by
>>>> the hg command, for example.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> --
>>>> Nicolas Dumazet — NicDumZ
>>>>
>>>
>>>
>> PYTHONPATH is unset. Packagemanagment says that mercurial is not
>> installed, but I must have installed it earlier on myself because there
>> is an hg in /usr/bin, and a
>>   /usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-linux-i686.egg/
> 
> Looks like you installed from an egg?
> 
>> Can I just delete the old one?
> 
> Yes.
> 

I did so and now I get the correct output :

 jfl at sl240:/usr/lib/python2.5/site-packages$ hg --version
 Mercurial Distributed SCM (version 1.4.2)

 Copyright (C) 2005-2009 Matt Mackall <mpm at selenic.com> and others
 This is free software; see the source for copying conditions. There is
 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

Thanks very much. I feel encouraged that I will not now experience
unusual problems due to my faulty installation. Frankly, between eggs,
easy_install, apt-get, and tar-balls I'm very leery of python programs.
And many of them include vast amounts of code. Someone suggested a
wisiwig editor for restructured text... and it required 3 or 4 hundred
megabytes of code! And I have never been able to get the pdf document
writer of docutils to work. So I hope that I will not be similarly
constricted by mercurial. I have had good experience with mercurial in
the past.

I am presently a school teacher, an English teacher, and I would like to
allow my students to learn the benefits of revision, as I try myself to
do, both with respect to their written or spoken products themselves and
also with respect to their progress in learning a second language, again
something I would like to try to do myself.

I hope that subrepos will help. I imagine making a directory tree of
student home directories and putting each of my 4-5 hundred student's
directories under mercurial control. At least at first, and probably
forever, I will have to restrict the contents of students' directories
to what they can produce via more or less standardized applications over
the web, so their directory structure should be well-defined and their
contents predictable.

But I am a teacher first and foremost and so move quite slowly with
development, although I hope to be able to do more with more in the future.

Thanks again for your help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLTRcJAAoJEL6Y7v/+eHMyZNYH/3h0WdXURUwCVwXEZTXR7Ice
xp51eBGeZ4ZkARb9Q+NYi/XVF0N6e9+u2y5qWjAxvIaqIgj3fq2XMEIvp9vGi6gM
2nUGRGRRqQuubGf5wXXTnCYaHGR128BWowidJOC5Yg9O6YEKNvNFpdZDD2ol/hRG
0NeydAGa4XJYe0Qj5wkANI8NLs0o2hOZrPtBiHeznypWrYdh7M9AD+wkUxjPrt3Z
SFKg00GAHUw+Qrj9ShTnvNJkxmQ4SKhDPW4p7rw4FiIGT8LaMgcz3KqIsGOMnv66
ljGzxbtK/Pql1giWQGGBqHEwXtRrWteJxgBdGDDWN/n3FMZDancS1VrKCB9S3gs=
=Pt4T
-----END PGP SIGNATURE-----


More information about the Mercurial mailing list