add a UUID type

Should have done this a long time ago.
This commit is contained in:
Joey Hess 2011-11-07 14:46:01 -04:00
parent b08f7c428b
commit 63a292324d
18 changed files with 67 additions and 55 deletions

View file

@ -45,9 +45,9 @@ options = commonOptions ++
where
check expected = do
u <- getUUID
when (u /= expected) $ error $
when (u /= read expected) $ error $
"expected repository UUID " ++ expected
++ " but found UUID " ++ u
++ " but found UUID " ++ show u
header :: String
header = "Usage: git-annex-shell [-c] command [parameters ...] [option ..]"