From 6ab63c438d3628dbcad201f775a18f4b6c8e758f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 1 Apr 2011 21:24:06 -0400 Subject: not really a bug This can occur if a local remote repo has not been initted, so has no uuid yet. --- LocationLog.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LocationLog.hs') diff --git a/LocationLog.hs b/LocationLog.hs index f1e54432c..d989cad61 100644 --- a/LocationLog.hs +++ b/LocationLog.hs @@ -90,7 +90,8 @@ instance Read LogLine where logChange :: Git.Repo -> Key -> UUID -> LogStatus -> IO FilePath logChange repo key u s = do 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 ls <- readLog logfile writeLog logfile (compactLog $ line:ls) -- cgit v1.2.3