pijul_org / pijul

Fixing #254: pijul diff does not change the pristine size anymore

By pmeunier on October 22, 2018
This patch is not signed.
8zsxukA8h2jAvBCLYub9MMnvKWmzQTAD7rX1HoEXZSL4XzVrjni427cZLkGbXnq4naRnUaGGTk2mqYpSMEXVMf6f
This patch is in the following branches:
latest
master
testing
50
51




52
53
pub fn run(args: &ArgMatches) -> Result<(), Error> {
    let opts = BasicOptions::from_args(args)?;
    // Increase by 100 pages. The most things record can
    // write is one write in the branches table, affecting
    // at most O(log n) blocks.
    let repo = opts.open_and_grow_repo(409600)?;
    let repo = opts.open_repo()?;
    let mut txn = repo.mut_txn_begin(rand::thread_rng())?;
142
143
144
145
) -> Result<(Vec<Record<Vec<Key<Option<Hash>>>>>, HashSet<InodeUpdate>), Error> {
    // Increase by 100 pages. The most things record can write is one
    // write in the branches table, affecting at most O(log n) blocks.
    let repo = opts.open_and_grow_repo(409600)?;