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