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

Re: Windows filename length limit

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Sat, 26 Jul 2008 13:22:20 +0200

On Fri, Jul 25, 2008 at 2:19 AM, Keith Moore <Keith.Moore_at_securency.com> wrote:
> I believe the Windows limit applies to API path parameters. If you CD to the directory that you want to commit and run the command from there it should work.
>
> Something like:-
> CD really\long\path
> svn commit . -m "Some message"
>
> I've ran into this problem before, I think the MAX_PATH system constant is 260 for a file name and 248 for a directory.

That's true, except that the APR library on which Subversion is based
is able to work around that limitation if you use absolute paths, ie

 C:\Really\Long\Path> svn ci -m "" C:\Really\Long\Path

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-26 13:22:49 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.