[darcs-users] File name too long

David Roundy droundy at abridgegame.org
Wed Oct 8 12:10:15 UTC 2003


On Tue, Oct 07, 2003 at 11:32:49PM +0200, Peter Simons wrote:
> While browsing around in a repository, I got the following error;
> 
> Fail: /var/cache/darcs/darcs..ltestsladd_in_subdir.sh.resolve_conflict_in_whatsnew.-David_Roundy_2droundy9abridgegame.org7-Tue_Oct__7_09.58.49_EDT_2003..ltestsladd_in_subdir.sh.fix_bug_when_adding_to_a_subdirectory.-David_Roundy_2droundy9abridgegame.org7-Sun_Jul_27_14.05.39_EDT_2003: openFile: invalid argument (File name too long)
> 
> Interesting problem, isn't it? :-)

Argh, yes.  I've been wishing for quite some time that I had decided to use
a simple hash for the patch file names.  For the problem you mention, there
is a simple fix, which is to have the CGI cache use a hash rather than the
URL.  I've implemented this fix, which is right now being "tested" and
should soon make it to the repository.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list