diff rust/hg-core/Cargo.toml @ 44080:4e05272dd681

packaging: leverage os.path.relpath() in setup.py `os.path.relpath()` has existed since Python 2.6, so we can safely use it. This fixes a bug in the current code when the common prefix is "/" (in which case `uplevel` would be one less than it should). Differential Revision: https://phab.mercurial-scm.org/D7875
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 14 Jan 2020 14:18:11 -0800
parents 5ac243a92e37
children 7f86426fdd2c
line wrap: on
line diff