Trying to view diffs between revisions on a single file shows revision on ALL files

Bug #194277 reported by Andrew McClain
4
Affects Status Importance Assigned to Milestone
Trac-Bzr
Fix Released
Medium
Martin von Gagern

Bug Description

If try to view differences between revisions on a single file (by clicking the revision id, then clicking "view changes" between the current revision of the file and the last changed reivison), I see the diffs of EVERY file that has changed between those two revisions.

Using branch bmonty-devel
trac 0.11b1
bzr 1.0.0 and 1.2.0 (happens with both)

Related branches

Revision history for this message
Andrew McClain (awmcclain) wrote :
Changed in trac-bzr:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin von Gagern (gagern) wrote :

Seems to be fixed in current trunk.

Changed in trac-bzr:
milestone: none → 0.3.0
status: Triaged → Fix Committed
Revision history for this message
Andrew Schulman (andrex) wrote :

Martin, I'm not able to verify this. I just updated to trunk r77, restarted Apache, and asked for a diff for one file. I got the diff for all files. Is there something else I should be doing? Thanks, Andrew.

Revision history for this message
Martin von Gagern (gagern) wrote :

Could reproduce it now. Will investigate...

Changed in trac-bzr:
assignee: nobody → Martin von Gagern (gagern)
status: Fix Committed → Triaged
Revision history for this message
Martin von Gagern (gagern) wrote :

The attached branch should fix things for real this time, and also correct paths for branches not located at the repository root.

As the cleanup in http://bazaar.launchpad.net/~gagern/trac-bzr/bug194277/revision/80 kills quite a lot of code, I'll give people a few days to review this fix before I merge it into trunk. I'll be grateful for any testing it receives before that, though.

Revision history for this message
Andrew Schulman (andrex) wrote :

Confirmed: it works. Hooray! I'll continue using this branch for now to see I encounter any new problems.

Let me just add that I'm delighted that someone is working on trac-bzr again. I thought the project was dead. I'd gladly help out if I had the Python skills and knowledge of bzr, but alas I don't.

Thanks,
Andrew.

Revision history for this message
Martin von Gagern (gagern) wrote : Re: [Bug 194277] Re: Trying to view diffs between revisions on a single file shows revision on ALL files

Thanks for the feedback! Testing stuff, for this fix and for anything
else, will be of considerable help to me. So you are contributing
already. :-)

Changed in trac-bzr:
status: Triaged → Fix Committed
Changed in trac-bzr:
status: Fix Committed → 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.