Mercurial > hg > mercurial-crew
changeset 9386:eae98607b349
util: canonpath: simplify logic
if root == os.sep, then endswithsep(root) is True as well: one test is enough
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sat, 22 Aug 2009 15:47:03 +0200 |
parents | 570416319ed3 |
children | 20ed9909dbd9 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff