diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/ConfigList.hs | 2 | ||||
-rw-r--r-- | Command/Map.hs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Command/ConfigList.hs b/Command/ConfigList.hs index fadcbb843..dcf4d1509 100644 --- a/Command/ConfigList.hs +++ b/Command/ConfigList.hs @@ -21,5 +21,5 @@ seek = [withNothing start] start :: CommandStart start = do u <- getUUID - liftIO $ putStrLn $ "annex.uuid=" ++ show u + liftIO $ putStrLn $ "annex.uuid=" ++ fromUUID u stop diff --git a/Command/Map.hs b/Command/Map.hs index 803324e99..11808ed63 100644 --- a/Command/Map.hs +++ b/Command/Map.hs @@ -62,7 +62,8 @@ drawMap rs umap ts = Dot.graph $ repos ++ trusted ++ others others = map (unreachable . uuidnode) $ filter (`notElem` ruuids) (M.keys umap) trusted = map (trustworthy . uuidnode) ts - uuidnode u = Dot.graphNode (show u) $ M.findWithDefault "" u umap + uuidnode u = Dot.graphNode (fromUUID u) $ + M.findWithDefault "" u umap hostname :: Git.Repo -> String hostname r |