Comment 2 for bug 77453

Revision history for this message
Rob Holland (rob-inversepath) wrote :

As discussed on IRC, please re-open this. Only directory names are checksummed still, so long basename(file) can still cause breakage.

Test case (not that I think you need one):

svn add VERY_LONG_FILE_NAME_THAT_BREAKS_THINGS_WHEN_GENERATING_REVIDS_LALALALALALALALALALALALALALALA
svn commit -m "add stupid file name"

bzr svn-import myrepo test-bzr
bzr: ERROR: Transport error: [Errno 36] File name too long: '/tmp/test-bzr/.bzr/repository/knits/db/svn-v2%3a2@a7d2e3ea-9551-48af-9aa1-510cb462931b--%56%45%52%59_%4c%4f%4e%47_%46%49%4c%45_%4e%41%4d%45_%54%48%41%54_%42%52%45%41%4b%53_%54%48%49%4e%47%53_%57%48%45%4e_%47%45%4e%45%52%41%54%49%4e%47_%52%45%56%49%44%53_%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41.knit' [Errno 36] File name too long: '/tmp/test-bzr/.bzr/repository/knits/db/svn-v2%3a2@a7d2e3ea-9551-48af-9aa1-510cb462931b--%56%45%52%59_%4c%4f%4e%47_%46%49%4c%45_%4e%41%4d%45_%54%48%41%54_%42%52%45%41%4b%53_%54%48%49%4e%47%53_%57%48%45%4e_%47%45%4e%45%52%41%54%49%4e%47_%52%45%56%49%44%53_%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41%4c%41.knit'