comparison tests/test-context.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 aec5d8561be2
children d83ca854fa21
comparison
equal deleted inserted replaced
30082:ebc03e64548a 30083:bd1f043d1ea3