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

Re: svn client and long filenames on Windows

From: Peter Lundblad <plundblad_at_google.com>
Date: 2007-05-15 15:26:09 CEST

Graham Leggett writes:
> On Tue, May 15, 2007 3:05 pm, Peter Lundblad wrote:
>
> > Is it possible to turn your tool into submitting absolute paths to svn?
>
> The tool is Apache Maven http://maven.apache.org, so getting it changed
> will involve convincing the maven people to do it.
>
> Can you give an example of what you mean by submitting absolute paths?
>
c:\projects\interestingproject
instead of
just being in the correct directory and giving interestingproject.

> My understanding is that no path in Windows can exceed 256 characters in
> length, so an absolute path will (in theory) not work either. In am also
> not a Windows person, so I cannot be sure on this either.
>
Path starting in "\\?\" (if I remember the syntax correctly) get parsed by
another parser and can be something like 32 kB in length. Somewhere (I think it
is in APR), absolute paths get this string prepended, but it can't do that
for performance reasons. I think you should try some svn commands
with relative and absolute paths and see if this makes a difference.

I think it is clear that this is a known "defect" in svn/apr (or at least
an understood tradeoff), the rest of this discussion could move to users@.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 15 15:27:26 2007

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

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