[darcs-users] File name too long

Zack Brown zbrown at tumblerings.org
Wed Oct 8 13:33:20 UTC 2003


On Wed, Oct 08, 2003 at 08:10:15AM -0400, David Roundy wrote:
> 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.

Why not change darcs to use the simple hash for patch file names, and offer
a script to convert existing darcs repos to the new format? Now's the time
to make such a change, while darcs is still young. (I know this has come up
before, but now you say you wish for it yourself).

Be well,
Zack

> -- 
> David Roundy
> http://www.abridgegame.org
> 
> _______________________________________________
> darcs-users mailing list
> darcs-users at abridgegame.org
> http://www.abridgegame.org/mailman/listinfo/darcs-users

-- 
Zack Brown




More information about the darcs-users mailing list