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

Re: APR and directory paths > 260 characters

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 02 Oct 2008 19:22:12 +0200

TimV wrote:
> I have been following the previously known issue with why TSVN v1.4.X
> (and earlier?) had problems with directory paths > 260 characters in
> length. There are several discussion treads on this subject, but the
> last word from Stefan seems to be:
> > I've patched apr for the TSVN build. So once TSVN 1.5 gets
> officially
> > released, long dir names won't be a problem anymore.
> http://mail-archives.apache.org/mod_mbox/apr-dev/200805.mbox/%3c482036E8.3070204@gmail.com%3e
>
> The Apache team also claims to have fixed the "real" problem, in the
> APR:
> >> We're seeing this problem more and more often popping up on
> >> users_at_subversion.t.o. Any progress on the issue?
> >
> > Committed for 1.3 and 0.9, thanks for the reminders guys!
> http://marc.info/?l=apr-dev&m=121009054525924&w=2
>
> So, the APR v1.3.2 was released on 17-Jun-2008 (and v1.3.3 released 9-
> Aug-2008), yet the latest version of TSVN (v1.5.3) is still built
> against APR v1.2.12, which was prior to the patch committed for v1.3.
> Still, if Stefan's own custom patch is correct, then the APR v1.3
> won't make a difference?

The nightly build from trunk is built against the apr 1.3.x release.
But since the patch applied to apr for this issue is from me, the patch
I've applied in the TSVN build is the very same :)

> AFTER migrating from TSVN v1.4.8 up to v1.5.3, I am STILL having long
> pathname problems with both commits and updates. Here is one common
> example of an error, after attempting an Update:
>
> Can't open file 'L:\Documents\Business\Project
> Files\ICADS_GNT\usnds-nsgdp-hw-build6 (SVN)\LBDA\TC\Software\Trunk
> \Message
> Formatting and Parsing\Message Prototypes\ADP_ETS Interfaces\ADP
> to ETS Command
> Messages\Strings to Messages\.svn\text-base\String to ETS Normal
> Status.vi.svn-base': The system cannot find the file specified.
>
> The file referenced in the error message does exist, but only with its
> short (8.3) filename, which is not what TSVN is looking for. All my
> examples of problems only involve WC paths which include a .svn
> folder; although I have no paths in my WCs which OUTSIDE of a .svn
> folder, have a pathname >260 characters.
>
> I suspect that this problem is a left-over from prior usage of TSVN
> v1.4.8. How do I recover from this?

Can you try removing those folders and then do a fresh checkout?
I don't know how a 'short' pathname could have ended up in your working
copy - that should not happen at all.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-02 19:22:33 CEST

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