Long pathnames
Adrian Buehlmann
adrian at cadifra.com
Sun Jul 20 12:50:36 CDT 2008
On 20.07.2008 15:44, Arne Babenhauserheide wrote:
> Am Sonntag 20 Juli 2008 11:52:51 schrieben Sie:
>> I'm confused about your statement, because I thought Linux
>> doesn't have a path length limit (besides the disk capacity)?
>
> I did think so, too, but my system told me differently
>
> What I did:
>
> I downloaded some dynamic websites and tried to put them under version
> control.
>
> Sadly some algorithms made the filenames _very_ long.
>
> What happened:
>
> trouble committing
> 2007-11-14/www.daskochrezept.de/kuechengeraete/index.html?param_search_string=bob+home+staubsauger+\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"crazy+vac\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"!
Is this a valid filename on Linux?
> transaction abort!
> rollback completed
> abort: File name too
> long: /home/arne/Dokumente/Kochrezepte/.hg/store/data/2007-11-14/www.daskochrezept.de/kuechengeraete/index.html~3fparam__search__string=bob+home+staubsauger+~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~22crazy+vac~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~5c~22.i
What version of Mercurial?
What platform exactly?
What hg command exactly?
What's the output of that command when run with --traceback?
> Would it be possible to shorten these long paths to
> store/data/path/beginning_of_the_filename-HASH_OVER_THE_END.i
Did you read what I wrote?
More information about the Mercurial
mailing list