Mercurial > hg
comparison mercurial/unionrepo.py @ 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 | f212cc5ffceb |
children | a5206e71c536 |
comparison
equal
deleted
inserted
replaced
44079:191a461d6be6 | 44080:4e05272dd681 |
---|