Progress bar for push
Dependencies
- [2]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul - [3]
I24UEJQLVarious post-fire fixes - [4]
76PCXGMLPushing to, and pulling from the local repository - [5]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [6]
367UBQ6KForwarding SSH stderr, and progress bar for push - [7]
VMPAOJS2Don't output after pushing to a local channel - [8]
UDHP4ZVBFixing SSH asynchronicity issues - [*]
KTTKF3RWLocking stderr and the progress bar in SSH - [*]
I52XSRUHMassive cleanup, and simplification - [*]
5SLOJYHGFixing the Git feature - [*]
FBXYP7QMForgot to add remote::http - [*]
Q45QHPO4Feedback on network stuff
Change contents
- edit in pijul/src/remote/ssh.rs at line 889
pro_n: usize, - edit in pijul/src/remote/ssh.rs at line 914
super::PROGRESS.borrow_mut().unwrap()[pro_n].incr(); - edit in pijul/src/remote/mod.rs at line 489
let pro_n = {let mut pro = PROGRESS.borrow_mut().unwrap();pro.push(crate::progress::Cursor::Bar {i: 0,n: changes.len(),pre: "Uploading changes".into(),})}; - replacement in pijul/src/remote/mod.rs at line 499
RemoteRepo::Local(ref mut l) => l.upload_changes(local, to_channel, changes),RemoteRepo::Ssh(ref mut s) => s.upload_changes(local, to_channel, changes).await,RemoteRepo::Http(ref h) => h.upload_changes(local, to_channel, changes).await,RemoteRepo::Local(ref mut l) => l.upload_changes(pro_n, local, to_channel, changes)?,RemoteRepo::Ssh(ref mut s) => {s.upload_changes(pro_n, local, to_channel, changes).await?}RemoteRepo::Http(ref h) => h.upload_changes(pro_n, local, to_channel, changes).await?, - replacement in pijul/src/remote/mod.rs at line 507
local::upload_changes(&store, txn, &mut channel, changes)local::upload_changes(pro_n, &store, txn, &mut channel, changes)? - edit in pijul/src/remote/mod.rs at line 511
PROGRESS.join();Ok(()) - edit in pijul/src/remote/local.rs at line 114
pro_n: usize, - replacement in pijul/src/remote/local.rs at line 139
upload_changes(&store, &mut *txn.write(), &channel, changes)?;upload_changes(pro_n, &store, &mut *txn.write(), &channel, changes)?; - edit in pijul/src/remote/local.rs at line 219
pro_n: usize, - edit in pijul/src/remote/local.rs at line 229
super::PROGRESS.borrow_mut().unwrap()[pro_n].incr(); - edit in pijul/src/remote/http.rs at line 152
pro_n: usize, - edit in pijul/src/remote/http.rs at line 186[3.1908][14.1501]
super::PROGRESS.borrow_mut().unwrap()[pro_n].incr();