You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nick Howell <nl...@cableone.net> on 2005/05/29 02:13:47 UTC

Long path names...

I was attempting to checkout mcs from the Mono Subversion repository, 
and I ran into an interesting error: Can't create directory "...": The 
filename or extension is too long.

Maybe the maximum path length should be extended?

Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Long path names...

Posted by steveking <st...@gmx.ch>.
Peter N. Lundblad wrote:
> On Sun, 29 May 2005, Nick Howell wrote:
> 
>>Windows XP. I don't have any trouble with long filenames using other
>>programs; just Subversion. It's a /really/ long path; I didn't count it
>>up, but I would guess it was at least 250 characters long. Perhaps the
>>buffer Subversion uses for filenames isn't large enough?
>>
> 
> Nope. The problem is that Windows doesn't support relative paths with more
> thna 255 characters (or something).  To solve this, we need to use
> absolute paths everywhere.
> 
> One solution might be to check out the WC into a shorter path. I think it
> is the total path length that's limited when the path isn't absolute.

It's not just that. Even if Subversion would use absolute paths, you 
would get big problems. The shell (i.e. explorer, file-open dialogs, 
...) doesn't support pathnames longer than 250 chars. On NTFS, it's 
possible to use longer paths, but the shell doesn't work with such paths 
and therefore you couldn't access the files there anyway.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Long path names...

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Sun, 29 May 2005, Nick Howell wrote:

> Windows XP. I don't have any trouble with long filenames using other
> programs; just Subversion. It's a /really/ long path; I didn't count it
> up, but I would guess it was at least 250 characters long. Perhaps the
> buffer Subversion uses for filenames isn't large enough?
>
Nope. The problem is that Windows doesn't support relative paths with more
thna 255 characters (or something).  To solve this, we need to use
absolute paths everywhere.

One solution might be to check out the WC into a shorter path. I think it
is the total path length that's limited when the path isn't absolute.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Long path names...

Posted by Nick Howell <nl...@gmail.com>.
Windows XP. I don't have any trouble with long filenames using other 
programs; just Subversion. It's a /really/ long path; I didn't count it 
up, but I would guess it was at least 250 characters long. Perhaps the 
buffer Subversion uses for filenames isn't large enough?

Nick

Peter N. Lundblad wrote:

>On Sat, 28 May 2005, Nick Howell wrote:
>
>  
>
>>I was attempting to checkout mcs from the Mono Subversion repository,
>>and I ran into an interesting error: Can't create directory "...": The
>>filename or extension is too long.
>>
>>Maybe the maximum path length should be extended?
>>
>>    
>>
>Yeah, talk to your OS vendor:-)
>
>Seriously, which platform is this on?
>
>Regards,
>//Peter
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Long path names...

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Sat, 28 May 2005, Nick Howell wrote:

> I was attempting to checkout mcs from the Mono Subversion repository,
> and I ran into an interesting error: Can't create directory "...": The
> filename or extension is too long.
>
> Maybe the maximum path length should be extended?
>
Yeah, talk to your OS vendor:-)

Seriously, which platform is this on?

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org