installing 1.4.2

John Francis Lee jfl at uspvp.org
Tue Jan 12 03:56:32 CST 2010


-----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/

Can I just delete the old one?

I don't unserstand the instructions about

 load __version__

I tried that in python, but python said it knew of no __version__ module.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLTEdCAAoJEL6Y7v/+eHMyP3cIAJkv+TV6HRNb3b0xOI248mFS
wQpa+/MU/rhyAsZdCvI60EzTt4lkjmjKvat+BcD+ia+j/PydsjYBgAsstluhPLhm
NqY8/ieZmyV64J5cKJ/y1+PXWBJZ9yh7vyk7385a57si/8t4aon9QbgJ6oqlc4+Z
FMBF260FTjA0VP4ujYrY4QwTB+fji0ISyVL8q5bReJEHOTzFJwizqkwteTOOiPLK
farv5fgwH4uVloOJjCBzzRo3nOIB5NfkXJwN3yB22KtMSFi/1YZevBzbxYRjyQMr
Z053IpKk/VWYFFmt20uKYNJQ54fU2fVo8SMBw8gBMA6XD3dQfFEJaH8xVr4S9pA=
=MJUD
-----END PGP SIGNATURE-----


More information about the Mercurial mailing list