[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: unable to open files checked out with long filenames, paths

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 10 Sep 2010 12:00:37 -0400

On Fri, Sep 10, 2010 at 11:55, Loritsch, Berin <bloritsch_at_dtri.net> wrote:
> As a workaround, you can check out the local repository closer to the root of the C: drive.  You have "C:\Documents and Settings\Justin\Desktop" that's adding characters to your 260 character limit.  Since you are only a few characters off, it would work better to use "C:\GBBS_TG43_CTMR_paper" as the root directory.
>
> NOTE: just about all platforms have a path limitation, even Unix (which includes Mac OS-X).  The really long file and directory names you have here will get you right up to the limit.  Perhaps a little sensible abbreviation would help?

Actually, most filesystems do NOT have a path length limitation. Even
with NTFS you're unlikely to hit the limit that it has (32,767 Unicode
characters with each path component (directory or filename) up to 226
characters long). It's the shell/environment/API that's accessing the
filesystem that more often has a limitation - which is what we're
seeing here.

See http://en.wikipedia.org/wiki/Comparison_of_file_systems

> -----Original Message-----
> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> Sent: Friday, September 10, 2010 7:05 AM
> To: users_at_tortoisesvn.tigris.org
> Subject: Re: unable to open files checked out with long filenames, paths
>
> On 10.09.2010 08:29, Justin wrote:
>>
>> Here is what is actually displayed in the checkout window:
>> "Added: C:\Documents and Settings\Justin\Desktop\GBBS_TG43_CTMR_paper
>> \Authored Red Journal Papers\pdf references\Nag_Controversies-and-New-
>> Developments-in-Gynecologic-Brachytherapy-Image-Based-Intracavitary-
>> Brachytherapy-for-Cervical-Carcinoma_2006_Seminars-in"
>>
>> Here are the results from copy and paste
>> "Added: C:\Documents and Settings\Justin\Desktop\GBBS_TG43_CTMR_paper
>> \Authored Red Journal Papers\pdf references\Nag_Controversies-and-New-
>> Developments-in-Gynecologic-Brachytherapy-Image-Based-Intracavitary-
>> Brachytherapy-for-Cervical-Carcinoma_2006_Seminars-in-Rad.pdf"
>>
>> Any ideas?
>
> Complain to MS about this :)
> Seriously: the explorer has a limit of path length of 260 chars.
> Anything that's longer, the explorer can't handle and therefore TSVN
> can't handle it either (unless you pass the paths manually to
> TortoiseProc.exe, in which case it will work).
>
> Stefan
>
> --
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\     http://tortoisesvn.net
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2657507
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>
>
> Confidentiality Note: The information contained in this message, and any attachments, may contain proprietary and/or privileged material. It is intended solely for the person or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2657568
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2657572

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-10 18:01:25 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.