comparison contrib/dockerrpm @ 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 d713fa934fb9
children a3ac1ea611ce
comparison
equal deleted inserted replaced
30082:ebc03e64548a 30083:bd1f043d1ea3