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

navaneeth.suresh (Navaneeth Suresh) phabricator at mercurial-scm.org
Tue Apr 9 11:55:13 EDT 2019

navaneeth.suresh added inline comments.


> pulkit wrote in patch.py:2811
> 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?

@pulkit Can you add a possible test case? I would like to work on this.

By the way, Yuya has replied to this over mail and changes didn't get reflected in phab. Yuya says:

  Which hglib function?
  I never thought hglib would parse diffstat output. I don't think it's parsable
  (i.e. BC-guaranteed) format.

  rHG Mercurial


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

More information about the Mercurial-devel mailing list