Mercurial temporary file nomenclature

Dirkjan Ochtman dirkjan at ochtman.nl
Mon Apr 12 14:32:52 CDT 2010


On Mon, Apr 12, 2010 at 21:26, Jason Harris <jason.f.harris at gmail.com> wrote:
> No I am not using inotify. Sorry, but something quite similar. I am using apples FSEventStream functionality, to get notified when changes occur in a directory. Then I can rescan that directory, but since that file goes wizzing, the stream handling catches this and I turn around and rescan the directory, which causes another file to whizz by, which I then rescan the directory for, which causes another file to wizz by and well you get the idea. Thus I have to try and interrupt this process...
>
> I suspend watching the stream until my scan is done, then try to flush the queued up notifications, but I have to wait a bit for the notifications to clear before I can pay attention to them, and this waiting time can be variable... and well this whole process is kind of unstable. It works but, man I wish I could just have the temp files generated outside of the tree.

So apparently this even happens without inotify?

Cheers,

Dirkjan


More information about the Mercurial mailing list