logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: File name too long: msg#00047

Subject: Re: File name too long
David Roundy writes:

 > [...] I could use a hash with the author and data appended.

Personally, I'd use the scheme

    ISO date and time / e-mail address / content hash

as in:

    20031013220510-simons@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

It's not really beautiful, but it will result in a more or less short
file name, and it won't collide. Also, having the date and time in the
file name will make it easy to find a certain patch file in the
repository just by examining the output of "darcs changes".

Peter


<Prev in Thread] Current Thread [Next in Thread>