This commit is contained in:
Joey Hess 2011-09-15 16:57:02 -04:00
parent 35145202d2
commit 5ff04bf2af
7 changed files with 18 additions and 12 deletions

View file

@ -14,6 +14,7 @@ import Command
import Messages
import qualified AnnexQueue
import Utility.SafeCommand
import Backend
command :: [Command]
command = [repoCommand "lock" paramPaths seek "undo unlock command"]
@ -23,7 +24,7 @@ seek = [withFilesUnlocked start, withFilesUnlockedToBeCommitted start]
{- Undo unlock -}
start :: BackendFile -> CommandStart
start (file, _) = do
start (_, file) = do
showStart "lock" file
next $ perform file