[darcs-users] bug with exotic file names?

David Roundy droundy at darcs.net
Tue Nov 21 17:47:12 UTC 2006


On Tue, Nov 21, 2006 at 06:39:36PM +0100, Tommy Pettersson wrote:
> On Tue, Nov 21, 2006 at 10:05:06AM +0100, Matthias Fischmann wrote:
> > | $ grep figures trace
> > | 27481 getcwd("/home/fis/tmp/diss_1/tex/figures", 4096) = 33
> > | 27481 getcwd("/home/fis/tmp/diss_1/tex/figures", 4096) = 33
> > | 27481 chdir("/home/fis/tmp/diss_1/tex/figures") = 0
> > | 27481 getcwd("/home/fis/tmp/diss_1/tex/figures", 4096) = 33
> > 
> > how does get_slurp know the file is not in figures without even
> > looking?
> 
> It's magical ... or there's a bug somewhere. ;-)

The code isn't checking whether the file is on the disk, but whether it's
in the slurped version of the repository.  So if the file isn't listed by
the getDirectoryContents, then this is the error we'll get.  The confusing
thing is that this bug doesn't seem to be reproducible on other computers.
:(
-- 
David Roundy
Department of Physics
Oregon State University




More information about the darcs-users mailing list