add the addurl command
This commit is contained in:
parent
a140f7148f
commit
6bddebdb79
5 changed files with 125 additions and 31 deletions
|
@ -37,10 +37,7 @@ logChange repo key u s = do
|
|||
when (null u) $
|
||||
error $ "unknown UUID for " ++ Git.repoDescribe repo ++
|
||||
" (have you run git annex init there?)"
|
||||
line <- logNow s u
|
||||
let f = logFile key
|
||||
ls <- readLog f
|
||||
writeLog f (compactLog $ line:ls)
|
||||
addLog (logFile key) =<< logNow s u
|
||||
|
||||
{- Returns a list of repository UUIDs that, according to the log, have
|
||||
- the value of a key. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue