wishlist: show list of modified files for non-merge commits too
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr email commit hook |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
It would be nice if bzr-email would show the list of modified files, like bzr log --verbose does.
Currently emailer.py only does this for _merge_ commits, not for simple commits. I assume this
is caused by the following section:
if len(self.
# This is not a merge, so we can special case the display of one
# revision, and not have to encur the show_log overhead.
lr = log.LogRevision
else:
# let the show_log code figure out what revisions need to be
# displayed, as this is a merge
The else branch passes "Verbose=True" to show_log, but the if branch doesn't do anything similar.
I suppose I can simply hack it locally so that the else branch that calls show_log is always used.
The comment in the code suggests that is inefficient, so if there's a better solution, please let me know...