[darcs-devel] [darcs #413] add should return an error when it can't read files.

Mark Stosberg via RT bugs at darcs.net
Thu Jun 2 09:16:53 PDT 2005


Thu Jun 02 12:16:50 2005: New ticket: 413.
Transaction: Ticket created by markjugg
       Queue: Darcs
     Subject: add should return an error when it can't read files.
       Owner: Nobody
  Requestors: mark at summersault.com
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=413 >

This bug comes from the philosophy that errors should be reported as early 
as possible to the user. 

I ran into a case where 'add' allowed to me add a file that I couldn't
record. There seems to be no point in allowing this, so I consider it a
bug. 

I have a patch for a test case to illustrate this which I will submit
momentarily.

(This bug is present in 1.0.3).

  Mark




More information about the darcs-devel mailing list