Mercurial > hg
diff contrib/dirstatenonnormalcheck.py @ 30083:bd1f043d1ea3
templater: add relpath() to convert repo path to relative path (issue5394)
File paths in template are repository-absolute paths. This function can be
used to convert them to filesystem paths relative to cwd. This also converts
'/' to '\\' on Windows.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 08 Oct 2016 15:24:26 +0200 |
parents | 3fd94f603190 |
children | 60927b19ed65 |