On Thu, Nov 17, 2005 at 10:25:01PM +0000, Tom Counsell wrote:
> The problem I have run into is that 'darcs whatsnew' seems to create  
> a temporary file in the repository directory.  This triggers the  
> kqueue notification again, and I end up in a loop.

I think that would be darcs checking the file system where
the repo is, if nfs and/or mmap() is safe or something else,
I'm not sure exactly what.

> Is there any way to specify where darcs should create its temporary  
> files, so that I can move them to /tmp?

General temporary files, yes!  It tries in order: DARCS_TMPDIR,
TMPDIR, /tmp and _darcs/.

The "test file" (and test dir) i question, no.  Darcs must
test at where the repo is.


Perhaps you could save the time right after the update is
finished and at new update invocations compare it to the
mtime of the directory to detect if changes were made before
the last update ended (and thus _likely_ are caused by it).


-- 
Tommy Pettersson <[EMAIL PROTECTED]>

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to