Submitter | phabricator |
---|---|
Date | April 5, 2018, 12:32 p.m. |
Message ID | <differential-rev-PHID-DREV-izyoxjfgxyt5342vaqpy-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/30359/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/mdiff.py b/mercurial/mdiff.py --- a/mercurial/mdiff.py +++ b/mercurial/mdiff.py @@ -97,7 +97,7 @@ if blank and opts.ignoreblanklines: text = re.sub('\n+', '\n', text).strip('\n') if opts.ignorewseol: - text = re.sub(br'[ \t\r\f]+\n', r'\n', text) + text = re.sub(br'[ \t\r\f]+\n', br'\n', text) return text def splitblock(base1, lines1, base2, lines2, opts):