D5628: diffstat: make --git work properly on renames (issue6025)

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Apr 5 16:47:21 EDT 2019


pulkit added inline comments.

INLINE COMMENTS

> patch.py:2811
> +        elif line.startswith('rename to'):
> +            filename += ' => %s' % line.split()[-1]
>      addresult()

This is unfortunately not working with hglib. hglib seems to be splitting data on '>' or only reading data after that.

@yuja do you have any idea what can cause that?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5628

To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, yuja, mercurial-devel


More information about the Mercurial-devel mailing list