Completing dependencies only with changes the remote does not have
[?]
Dec 11, 2020, 6:42 PM
BE7GUCI2N6TX3P2HRMFSH7XLJKILDPOKOXKA7HWOABBFNKCKMZLACDependencies
- [2]
M5FK3ABTComplete dependencies when pushing and pulling - [3]
BBKV6VMNFixing push/pull messages, and do not reverse the changes to download/upload - [4]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [5]
I52XSRUHMassive cleanup, and simplification
Change contents
- replacement in pijul/src/commands/pushpull.rs at line 240
let comp = complete_deps(&repo.changes, &to_upload, &d)?;let comp = complete_deps(&txn, &remote_changes, &repo.changes, &to_upload, &d)?; - replacement in pijul/src/commands/pushpull.rs at line 365
let comp = complete_deps(&repo.changes, &to_download, &d)?;let comp = complete_deps(&txn, &None, &repo.changes, &to_download, &d)?; - replacement in pijul/src/commands/pushpull.rs at line 489
fn complete_deps<C: ChangeStore>(fn complete_deps<T: TxnT, C: ChangeStore>(txn: &T,remote_changes: &Option<libpijul::RemoteRef<T>>, - edit in pijul/src/commands/pushpull.rs at line 502
if let Some(ref rem) = remote_changes {if txn.remote_has_change(rem, d) {continue;}}