templates and the log --debug output the extra fields
Steve Fink
sphink at gmail.com
Tue Jan 5 19:21:53 UTC 2021
On 1/5/21 8:43 AM, Craig Ozancin wrote:
> What then is the difference between {extras.topic} and {topic}? I know
> that topic info is kept in the extra dictionary in each changeset.
> You can extract specific data using get(dict. key). Is extras.topic
> doing this and doesn't {topic} also do this?
That's the key bit that Uwe wanted here. Topics are supposed to "melt
away" once a changeset becomes public. How that happens in practice is
that the topic is kept in the 'extras' dict, but it's supposed to be
ignored if the changeset is public. Uwe wants to see it anyway.
Semantically, this is saying "what the topic *was* before the changeset
became public", but it's still interesting information.
(Thanks for the example template stuff, btw -- I didn't know how it
worked before reading your post.)
More information about the Mercurial
mailing list