avoid outputting repo multiple times in channel switch
Dependencies
- [2]
C4MJ7D7QVerbose printing of conflicts to stderr - [3]
X243Z3Y5Recording only the required metadata (can even be changed later!) - [4]
L4JXJHWXpijul/*: reorganize imports and remove extern crate - [5]
V435QOJRUsing path-slash to fix path issues on Windows - [6]
LGEJSLTYFixing output (including its uses in reset and pull) - [7]
I24UEJQLVarious post-fire fixes - [8]
5OGOE4VWStore the current channel in the pristine - [9]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [10]
3KRGVQFUDo not update the mtime of unmodified files - [11]
QMTANHVNReset: only output changed files - [12]
2RXOCWUWMaking libpijul deterministic (and getting rid of `rand`) - [13]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul
Change contents
- replacement in "pijul/src/commands/reset.rs" at line 1
use std::collections::HashSet;use std::collections::{BTreeSet, HashSet}; - replacement in "pijul/src/commands/reset.rs" at line 167
let mut paths = Vec::with_capacity(inodes.len());let mut paths = BTreeSet::new(); - replacement in "pijul/src/commands/reset.rs" at line 172
paths.push(path)paths.insert(path); - edit in "pijul/src/commands/reset.rs" at line 177
}if paths.is_empty() {paths.insert(String::from("")); - edit in "pijul/src/commands/reset.rs" at line 182
let mut last = None; - edit in "pijul/src/commands/reset.rs" at line 193
match last {Some(last_path) if path.starts_with(last_path) => continue,_ => (),} - replacement in "pijul/src/commands/reset.rs" at line 204
&path,path, - edit in "pijul/src/commands/reset.rs" at line 212
last = Some(path) - edit in "pijul/src/commands/reset.rs" at line 214[3.11025]→[3.11025:11059](∅→∅),[3.11059]→[2.526:1007](∅→∅),[2.1007]→[3.11392:11406](∅→∅),[3.11392]→[3.11392:11406](∅→∅)
if paths.is_empty() {conflicts.extend(libpijul::output::output_repository_no_pending(&repo.working_copy,&repo.changes,&txn,&channel,"",true,None,num_cpus::get(),0,)?.into_iter(),);}