log should be able to show diffs as well

Bug #202331 reported by Stefan Monnier
6
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Unassigned

Bug Description

I wish there was a --diffs option to "bzr log" so that each log entry is associated with the corresponding diff. This would be particularly useful when combined with the "bzr log foo.c:244-254" variant where we can specify a range of lines: it should show the log-entry of each change that contributed to these lines together with the corresponding hunks, hence showing really a complete history of those lines.

Tags: log
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Russ Brown (pickscrape) wrote :

I'd like to see this too.

For me it's just a really nice way to see what's happened recently. Just run bzr log -p | less and you get comments with a patch for each.

Allowing the diff output to be coloured would be an additional bonus.

git and mercurial both support this in the form of the -p switch (i.e. patch), so for me it would seem to make sense to do the same.

Revision history for this message
Arkadiusz Miśkiewicz (arekm) wrote :

When being implemented this should be done closely with bug #227335 since these are similar with little difference - multiple patches creating a flow vs single chosen patch.

I could also add that log -p and show feature are most commonly used commands for people tracking development in other (git based for now, mercurial afaik also has similar stuff) projects and not actually participating in development. bzr team seems to be focused mainly on developers of projects while there are other groups worth looking at :-)

Jelmer Vernooij (jelmer)
Changed in bzr:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.