Follow the keep-changes feature instead of its negation (in `pijul unrecord`)

pmeunier
Oct 30, 2022, 8:28 PM
BSEJ3J6P6WGC2EQXTGQJCK6PU33R6MII3QYXYT22HAT6COL6YAVQC

Dependencies

  • [2] EUZFFJSO Updating Pijul with the latest changes in Libpijul
  • [3] GUL4M5FI Cleanup and formatting
  • [4] MHQBEHJD unrecord --reset without a pending change
  • [5] I24UEJQL Various post-fire fixes
  • [6] 2RXOCWUW Making libpijul deterministic (and getting rid of `rand`)
  • [*] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in pijul/src/commands/unrecord.rs at line 160
    [3.224][3.6012:6060](),[3.293][3.6012:6060](),[2.2340][3.6012:6060](),[3.6012][3.6012:6060]()
    if cfg!(feature = "keep-changes") {
    [2.2340]
    [3.6060]
    if !cfg!(feature = "keep-changes") {