Show More
@@ -726,6 +726,11 b' def showpredecessors(repo, ctx, **args):' | |||
|
726 | 726 | lambda x: {'ctx': repo[x], 'revcache': {}}, |
|
727 | 727 | lambda x: scmutil.formatchangeid(repo[x])) |
|
728 | 728 | |
|
729 | @templatekeyword('reporoot') | |
|
730 | def showreporoot(repo, **args): | |
|
731 | """String. The root directory of the current repository.""" | |
|
732 | return repo.root | |
|
733 | ||
|
729 | 734 | @templatekeyword("successorssets") |
|
730 | 735 | def showsuccessorssets(repo, ctx, **args): |
|
731 | 736 | """Returns a string of sets of successors for a changectx. Format used |
General Comments 0
You need to be logged in to leave comments.
Login now