Show More
@@ -543,6 +543,12 b' def showobsolete(context, mapping):' | |||||
543 | return 'obsolete' |
|
543 | return 'obsolete' | |
544 | return '' |
|
544 | return '' | |
545 |
|
545 | |||
|
546 | @templatekeyword('path', requires={'fctx'}) | |||
|
547 | def showpath(context, mapping): | |||
|
548 | """String. Repository-absolute path of the current file. (EXPERIMENTAL)""" | |||
|
549 | fctx = context.resource(mapping, 'fctx') | |||
|
550 | return fctx.path() | |||
|
551 | ||||
546 | @templatekeyword('peerurls', requires={'repo'}) |
|
552 | @templatekeyword('peerurls', requires={'repo'}) | |
547 | def showpeerurls(context, mapping): |
|
553 | def showpeerurls(context, mapping): | |
548 | """A dictionary of repository locations defined in the [paths] section |
|
554 | """A dictionary of repository locations defined in the [paths] section |
General Comments 0
You need to be logged in to leave comments.
Login now