Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9824 closed enhancement (fixed)

Add a simple way of showing the diff between two branches with DVCS

Reported by: Remy Blank Owned by: Remy Blank
Priority: high Milestone: 1.0
Component: version control/browser Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Added an input in the source browser to view the diff against another revision.

API Changes:
Internal Changes:

Description

To show the diff between two branches, it is currently necessary to go through the AnyDiffModule, which is quite cumbersome. A simpler way of going to that diff from the browser page would be very useful.

I propose adding an additional "View diff against:" field next to the "View revision:" field. Entering a revision there and pressing ENTER would navigate to the corresponding diff. Of course, e.g. in the case of Mercurial, the revision can also be a branch or tag name, which makes it very convenient for viewing the diff between two branches. The branch and tag names are even conveniently shown in the "Visit:" selector.

The convenience would be more difficult to achieve for VCS that represent branches as paths (e.g. Subversion). In this case, the AnyDiffModule is probably the right tool.

Patch coming up shortly.

Attachments (1)

9824-diff-against-r10300.patch (1.9 KB ) - added by Remy Blank 14 years ago.
Add "View diff against:" field to the TracBrowser.

Download all attachments as: .zip

Change History (5)

by Remy Blank, 14 years ago

Add "View diff against:" field to the TracBrowser.

comment:1 by Remy Blank, 14 years ago

Note that the behavior is the same as e.g. the Mercurial command:

hg diff -r branch

That is, the diff is the diff from the branch to the currently browsed revision.

comment:2 by Remy Blank, 14 years ago

Priority: normalhigh

comment:3 by Remy Blank, 14 years ago

Resolution: fixed
Status: newclosed

Patch applied in [10332].

comment:4 by Remy Blank, 14 years ago

Release Notes: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.