[darcs-users] Re: Error message improvement suggestion

Mark Stosberg mark at summersault.com
Thu Oct 14 15:06:09 UTC 2004


On 2004-10-14, Martin Schaffner <maschaffner at gmx.ch> wrote:
> When I give "darcs push" a bad argument, the error message
>
> Fail: <foo>/_darcs/inventory: openBinaryFile: does not exist (No such file 
> or directory)
>
> is not very helpful, it requires me to know about the inner workings of 
> darcs. I suggest adding a check to see if the target directory of the push 
> command is a repo, similar to the check for "darcs revert" (and other 
> commands), giving a similar message to what "darcs revert" gives me if I'm 
> not in a repo.

I would also like to see a more helpful error message here. In meantime,
I've documented this on on the wiki:

http://www.scannedinavian.org/DarcsWiki/DiagnosticMessages

	Mark





More information about the darcs-users mailing list