diffstat: support filenames with whitespaces on renames

Authored by navaneeth.suresh.

Description

diffstat: support filenames with whitespaces on renames

This is a follow-up patch to D5628. line.split() cannot get filenames with
whitespaces as mentioned by @yuja. This patch replaces split() method with
slice. Corresponding tests were also added.

Differential Revision: https://phab.mercurial-scm.org/D5709

Details

Committed
navaneeth.sureshJan 26 2019, 2:44 AM
Differential Revision
D5709: diffstat: support filenames with whitespaces on renames
Parents
rHG4a409c19831f: largefiles: avoid walking full manifest
Branches
Unknown
Tags
Unknown