On 9/9/10 12:59 PM, Eric Kow wrote:
Thu Sep 9 20:42:55 BST 2010 Eric Kow<[email protected]>
* Improve error message when _darcs/inventory fallback check fails.
...
- Left e -> return $ Left $ "Not a repository: "++repo++"
("++e++")"
+ Left e -> return . Left . unlines $
+ [ "Not a repository: "++repo++" ("++e++")"
+ , ""
+ , "Note: I was expecting to find a _darcs/inventory
file because I could"
+ , "not find (or read) _darcs/format and assumed
that the remote repository"
+ , "is old-fashioned."
+ ]
+1, this is a clear improvement for someone trying to figure out their darcs
trouble, and seems harmless and cheap.
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users