make removeKey throw exceptions
This commit is contained in:
parent
b5ee97f32a
commit
4be94c67c7
28 changed files with 134 additions and 111 deletions
|
@ -177,8 +177,7 @@ retrieve buprepo = byteRetriever $ \k sink -> do
|
|||
remove :: BupRepo -> Remover
|
||||
remove buprepo k = do
|
||||
go =<< liftIO (bup2GitRemote buprepo)
|
||||
warning "content cannot be completely removed from bup remote"
|
||||
return True
|
||||
giveup "content cannot be completely removed from bup remote"
|
||||
where
|
||||
go r
|
||||
| Git.repoIsUrl r = void $ onBupRemote r boolSystem "git" params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue