On Wed, Jan 21, 2009 at 12:52 PM, Derek Scherger
<address@hidden> wrote:
When commit opens your editor to write a changelog maybe it should load the buffer with something that looks a *lot* like a committed revision as listed by log. Then, you not only get to see the Ancestor, Author, Date and Branch values of your pending commit but you could also *edit* them before saving the log and actually doing the commit. This essentially changes the format of messages coming back from the commit hook and requires them to have some structure. After getting the message from the hook it would be parsed and the various values would be used for their respective certs.
I've pushed a couple of revs to net.venge.monotone.experiment.changelog-editor that essentially implement this different style of changelog editing. Having used this new changelog editor to commit the two revs involved in its implementation, it seems quite nice to be able to "see" what the revision will look like and to edit the branch you're committing to in the process of writing or finalizing the changelog. The idea that status shows a rev you're working on, commit shows the same thing as you're committing it and log shows the same thing later seems good to me.