diff tests/test-rebase-rename.t @ 23610:9266d1dd6a6e

namespaces: generate template keyword when registering a namespace For any namespace, we generate a template keyword. For example, given a namespace 'babar', we automatically have the ability to use it in a template: hg log -r . -T '{babars % "King: {babar}\n"}' Furthermore, we only generate this keyword for a namespace if one doesn't already exist. This is necessary for 'branches' and 'bookmarks' since both of those have concepts of 'current' (something outside the namespace api) and also allows extensions to override default behavior if desired.
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 16 Oct 2014 23:19:09 -0700
parents 2fb0504b8175
children aa4a1672583e
line wrap: on
line diff