[darcs-devel] [darcs #198] Slow --look-for-adds on restricted directory

Samuel Hym via RT bugs at darcs.net
Tue Feb 1 10:04:39 PST 2005


Tue Feb 01 13:04:37 2005: New ticket: 198.
Transaction: Ticket created by samuel.hym at gmail.com
       Queue: Darcs
     Subject: Slow --look-for-adds on restricted directory
       Owner: Nobody
  Requestors: samuel.hym at gmail.com
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=198 >

Invoking darcs record -l . or darcs whatsnew -l . to get the list of
modifications including additions of files to the current directory is
unreasonably slow.

A strace darcs record -l . shows that the whole source tree is looked
at during this operation, not only the directory on which the
operation is to be performed, here '.'

A strace also shows the same is true even when not specifying -l, even
if the time used in that case is reasonable because of the small
amount of files of my source tree that are indeed in the repository.

Cheers
Sam





More information about the darcs-devel mailing list