incomplete
This commit is contained in:
parent
f05ed818f9
commit
3cf16c9883
2 changed files with 36 additions and 17 deletions
11
Commands.hs
11
Commands.hs
|
@ -308,12 +308,13 @@ moveTo file = isAnnexed file $ \(key, backend) -> do
|
|||
isthere <- Remotes.inAnnex remote key
|
||||
case isthere of
|
||||
Left err -> error (show err)
|
||||
Right True -> removeit
|
||||
Right False -> moveit
|
||||
Right False -> moveit remote key
|
||||
Right True -> removeit remote key
|
||||
where
|
||||
moveit = do
|
||||
error $ "TODO move" ++ file
|
||||
removeit = do
|
||||
moveit remote key = do
|
||||
Remotes.copyToRemote remote key
|
||||
removeit remote key
|
||||
removeit remote key = do
|
||||
error $ "TODO remove" ++ file
|
||||
|
||||
{- Moves the content of an annexed file from another repository to the current
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue