not really a bug
This can occur if a local remote repo has not been initted, so has no uuid yet.
This commit is contained in:
parent
dd5591781d
commit
6ab63c438d
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ instance Read LogLine where
|
||||||
logChange :: Git.Repo -> Key -> UUID -> LogStatus -> IO FilePath
|
logChange :: Git.Repo -> Key -> UUID -> LogStatus -> IO FilePath
|
||||||
logChange repo key u s = do
|
logChange repo key u s = do
|
||||||
when (null u) $
|
when (null u) $
|
||||||
error $ "bug detected: unknown UUID for " ++ Git.repoDescribe repo
|
error $ "unknown UUID for " ++ Git.repoDescribe repo ++
|
||||||
|
" (have you run git annex init there?)"
|
||||||
line <- logNow s u
|
line <- logNow s u
|
||||||
ls <- readLog logfile
|
ls <- readLog logfile
|
||||||
writeLog logfile (compactLog $ line:ls)
|
writeLog logfile (compactLog $ line:ls)
|
||||||
|
|
Loading…
Reference in a new issue