Fixing the "repeated records" bug

pmeunier
Dec 17, 2023, 2:38 PM
BU7OHMPWYR4P6WKGBEKH5RPY55AQYFCXH6EAK2JOABVTJLQN3YNQC

Dependencies

  • [2] UGUWKK3I Fixing conflicts
  • [3] FMVDQHHC Parsing binary file deletions in the change text format
  • [4] 5FI6SBEZ Re-implement change printing and parsing
  • [5] HW7DZ2B4 Fixing the change parser

Change contents

  • replacement in libpijul/src/change/parse.rs at line 76
    [3.48][3.48:72]()
    (i, Vec::new())
    [3.48]
    [3.72]
    debug!("encoding none");
    // If the encoding is binary, we may have a base64 version of
    // the file.
    if let Ok((i, c)) = parse_contents('-', encoding.clone(), i) {
    (i, c)
    } else {
    (i, Vec::new())
    }