Add a simple way of showing the diff between two branches with DVCS
|Reported by:||Remy Blank||Owned by:||Remy Blank|
Added an input in the source browser to view the diff against another revision.
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.