templates: fix "log -q" output of default style
It was changed at
0ded0f0b1c04 unintentionally due to name conflicts.
context: add a repo accessor
There are 29 instances of 'ctx._repo' in the code, so make the ability
to access more official.
test-histedit-edit.t: demonstrate qnew fails during a histedit (
issue4366)
This was accidentally fixed by other work, but given that it's been
broken in the past, I'd like to have a test defending us against
regressions in this area, especially as we add more functionality to
histedit.
lazymanifest: make __iter__ generate filenames, not 3-tuples
The _lazymanifest type(s) behave very much like a sorted dict with
filenames as keys and (nodeid, flags) as values. It therefore seems
surprising that its __iter__ generates 3-tuples of (path, nodeid,
flags). Let's make it match dict's behavior of generating the keys
instead, and add a new iterentries method for the 3-tuples. With this
change, the "x" in "if x in lm" and "for x in lm" now have the same
type (a filename string).