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

Re: Problem with checkout on AMD64

From: Rob van Oostrum <rvanoo_at_gmail.com>
Date: Sun, 27 Dec 2009 17:03:28 -0500

On Sun, Dec 27, 2009 at 4:35 PM, Erik Huelsmann <ehuels_at_gmail.com> wrote:

> On Sun, Dec 27, 2009 at 10:33 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> > On Sun, Dec 27, 2009 at 09:12:36PM +0100, Erik Huelsmann wrote:
> >> There's a fundamental difference in how the svn client and TSVN
> >> operate: TSVN creates all its files with full paths. In that case, the
> >> maximum length of a file name on windows is 65k bytes.
> >>
> >> The way the SVN client does it is different: it uses relative paths.
> >> In that scenario the maximum file name length of the relative file
> >> name on Windows is 256 bytes.
> >>
> >> Given the above, it could very well be you're looking at the Windows
> limitation.
> >
> > Why isn't the behaviour the same even though both clients use
> > the svn libraries?
>
> Because the libraries operate on whatever they're given. TSVN always
> passes full paths, whereas the user probably doesn't.
>
>
> Bye,
>
> Erik.
>

Since it looks like you're calling the SVN client from Ant, you can just
have Ant normalize any relative path to a full path before passing it to the
SVN client inside the <exec> task.

See: <property name="absolute.path" location="relative/path"/>

-Rob
Received on 2009-12-27 23:04:02 CET

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.