[PATCH STABLE] setup/hg: handle hg being a symlink when appending relative libdir to sys.path

Thomas Arendsen Hein thomas at intevation.de
Fri Oct 22 02:47:45 CDT 2010


* Matt Mackall <mpm at selenic.com> [20101022 01:45]:
> On Thu, 2010-10-21 at 10:00 -0700, L. David Baron wrote:
> > # HG changeset patch
> > # User L. David Baron <dbaron at dbaron.org>
> > # Date 1287680302 25200
> > # Node ID 172c5e2d8baff6b65d09c779d64ae199b23eb886
> > # Parent  6bf8d48bec8e1ab2e0462ce14a914d06e64f7117
> > setup/hg: handle hg being a symlink when appending relative libdir to sys.path
> > 
> > Resolve symbolic links in the path to hg so that an hg that works when
> > invoked directly will also work when invoked via a symlink to it.
> 
> Ok, queued, thanks!

Confirmed to work with install and install-home.
(and to not work before the patch)

Regards,
Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list