2245fcd0e160 in stable broke subrepos for python 2.4/2.5
Thomas Arendsen Hein
thomas at intevation.de
Fri Dec 10 05:10:35 CST 2010
Hi Mads!
changeset: 13105:2245fcd0e160
branch: stable
parent: 13103:6e79a3bb8c79
user: Mads Kiilerich <mads at kiilerich.com>
date: Fri Dec 10 01:30:16 2010 +0100
files: mercurial/subrepo.py tests/test-subrepo-relative-path.t
description:
subrepo: initialize subrepo relative default paths relative to their root
...
+ if not os.path.isabs(value):
+ value = os.path.relpath(os.path.abspath(value), root)
os.path.relpath was introduced in python 2.6
Can you fix this and add a test for using os.path.relpath in check-code?
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