Project

General

Profile

Feature #5614

Show context function name in hg diffs

Added by Olivier Renaud 4 months ago. Updated 4 months 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.

History

#1 Updated by Redmine Integration 4 months 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

#2 Updated by Daniel D 4 months 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.

#3 Updated by Olivier Renaud 4 months ago

Awesome, thanks!

Also available in: Atom PDF