context: add a changectx.diff() convenience function
With this function, extracting diffs becomes trivial:
repo = hg.repository(ui.ui(), path=root)
ctx = repo['tip']
for out in ctx.diff(): print out
keyword: omit setting extra variable for record context
Since
dc2f37864348 the context is always retrieved in
kwtemplater.overwrite().