Opened 13 years ago
Last modified 13 years ago
#9824 closed enhancement
Add a simple way of showing the diff between two branches with DVCS — at Initial Version
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: | |||
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.
Add "View diff against:" field to the TracBrowser.