add missing progress bar
This commit is contained in:
parent
86a2f9dc4d
commit
dc4de7faf7
1 changed files with 4 additions and 1 deletions
|
@ -466,7 +466,10 @@ copyFromRemoteCheap _ _ _ = return False
|
||||||
|
|
||||||
{- Tries to copy a key's content to a remote's annex. -}
|
{- Tries to copy a key's content to a remote's annex. -}
|
||||||
copyToRemote :: Remote -> Key -> AssociatedFile -> MeterUpdate -> Annex Bool
|
copyToRemote :: Remote -> Key -> AssociatedFile -> MeterUpdate -> Annex Bool
|
||||||
copyToRemote r key file p
|
copyToRemote r key file p = parallelMetered (Just p) key $ copyToRemote' r key file
|
||||||
|
|
||||||
|
copyToRemote' :: Remote -> Key -> AssociatedFile -> MeterUpdate -> Annex Bool
|
||||||
|
copyToRemote' r key file p
|
||||||
| not $ Git.repoIsUrl (repo r) =
|
| not $ Git.repoIsUrl (repo r) =
|
||||||
guardUsable (repo r) (return False) $ commitOnCleanup r $
|
guardUsable (repo r) (return False) $ commitOnCleanup r $
|
||||||
copylocal =<< Annex.Content.prepSendAnnex key
|
copylocal =<< Annex.Content.prepSendAnnex key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue