comparison hgext/journal.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 e5a97ec6ebb8
children 85d5708eae4e
comparison
equal deleted inserted replaced
30082:ebc03e64548a 30083:bd1f043d1ea3