Fixing change hunk text parsing
Dependencies
- [2]
FVN4TICGRefusing to parse patches to binary files converted to text format, as there is no way to make sense of them - [3]
L5I5B4PVFixing another parsing issue preventing delete edit hunks to be recorded - [4]
ALKSQF2FReturn parse errors in the text format when a hunk description is parsed, but the hunk fails to parse - [5]
5FI6SBEZRe-implement change printing and parsing
Change contents
- replacement in libpijul/src/change/parse.rs at line 445[2.44]→[3.0:161](∅→∅),[3.161]→[4.11629:11646](∅→∅),[4.11646]→[3.177:381](∅→∅),[3.177]→[3.177:381](∅→∅)
if encoding.is_none() {return Err(nom::Err::Error(nom::error::Error::new(i,nom::error::ErrorKind::Verify,)));} else {fold_many0(complete(|i| parse_content_line(leading_char, i)),String::new,|s, r| s + r.as_str(),)(i)?}fold_many0(complete(|i| parse_content_line(leading_char, i)),String::new,|s, r| s + r.as_str(),)(i)?