Project

General

Profile

Actions

Feature #5614

open

Show context function name in hg diffs

Added by Olivier Renaud over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
14.04.2020
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

Description

In a pull request, each chunk has a standard diff header.

@@ -37,7 +37,7

For Git repositories, this header can also give the context of the chuck, which is nice.

@@ -37,7 +37,7 @@ MechanisticOpProperties::getSimultaneous

But I don't see the same for Hg repositories. On the CLI, this info can be added with the --show-function argument of hg diff.

Actions #1

Updated by Redmine Integration over 4 years ago

  • Status changed from New to Resolved

Commit f812d434ac8d by Daniel Dourvaris daniel@rhodecode.com on default branch changed this issue.
https://code.rhodecode.com/rhodecode-vcsserver/changeset/f812d434ac8de8340191dfef93e8231fde9d8820

Actions #2

Updated by Daniel D over 4 years ago

Thank you for bringing that back, we simply enabled that option for Mercurial Diffs to make them more consistent with GIT ones. Please note that diffs are often cached, and it might be that older ones wouldn't show that after the change. You can wait for the next release, or simply patch your vcsserver with this simple change to obtain it now.

Actions #3

Updated by Olivier Renaud over 4 years ago

Awesome, thanks!

Actions

Also available in: Atom PDF