installing 1.4.2

Matt Mackall mpm at selenic.com
Tue Jan 12 09:40:01 CST 2010


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.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list