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

RE: Bug report: SubWCRev fails for long paths

From: David Balažic <david.balazic_at_hermes-softlab.com>
Date: Fri, 13 Mar 2009 20:12:45 +0100


The DOS (or whatever it is called today) API has the PATH limit of about
255 or so characters.
On Windows there is another API (Win32 API IIRC), that is much more
Tha path limit there is about 32000 chars.

Maybe the devs can switch the used API.

(many programs suffer from this problem, including Windows (XP) Explorer
itself :-P)


> -----Original Message-----
> From: bugreport [mailto:M8R-fj4tn21_at_thisisnotmyrealemail.com]
> Sent: Friday, March 13, 2009 7:30 PM
> To: users_at_tortoisesvn.tigris.org
> Subject: Bug report: SubWCRev fails for long paths
> I'm using SubWCRev with a repository that has a relatively deep
> directory structure with long names.
> When I use a command line of the form:
> "C:\PathToSubWCRev\SubWCRev.exe" "C:\LongPathToRepository\x\..\x"
> "C:\LongPathToRepository\Template.in"
> "C:\LongPathToRepository\Template.out"
> it fails with the error message:
> SubWCRev : Can't stat
> 'C:\LongPathToRepository\x\..\x\LongPathToSomeFile\SomeFile': The
> filename, directory name, or volume label syntax is incorrect.
> (The command exits with code 6.)
> The actual reported file path
> (C:\LongPathToRepository\x\..\x\LongPathToSomeFile\SomeFile) is very
> long. The error disappears when the repository is checked out to a
> shorter path instead, such that
> C:\ShorterPathToRepository\x\..\x\LongPathToSomeFile\SomeFile is 247
> characters or less.
> The "x\..\x\" part seems also to be required to trigger the problem.
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061
> &dsMessageId=1318179
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_tortoisesvn.tigris.org].


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-13 20:21:45 CET

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

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