jam...@gmail.com
unread,Jun 17, 2013, 3:07:26 PM6/17/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rhod...@googlegroups.com
In the latest released RhodeCode, I'm trying to do a diff between two arbitrary changesets from the changelog view.
In the changelog view, it seems that the "Show selected changesets" simply shows all changesets in between the changesets selected, ignoring the branches that they are on.
I've added to changelog.html template a diff button that appears when two changesets are selected; it uses the compare controller to display the changes between the two changesets. It handles two cases that the "Show selected changsets" doesn't handle very well:
1) If the starting and ending changeset are on the same branch, but there are commits on a separate branch in between the selected changesets, the compare view will ignore them, since they don't contribute to the ending changeset, while the changeset controller will include them.
2) If the start and ending changeset are on different branches, the compare controller will calculate a proper diff between the two changesets
I'm wondering if this functionality is somewhere else in RhodeCode that I have overlooked, or if I should create a pull request.
Thanks,
Jamus