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

RE: svn data corruption error message actually causing by the length of the path?

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Tue, 20 Jan 2009 00:35:08 +0100

> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: Monday, January 19, 2009 11:10 PM
> To: baz themail
> Cc: users_at_subversion.tigris.org
> Subject: Re: svn data corruption error message actually causing by the
> length of the path?
>
> On Mon, Jan 19, 2009 at 17:00, baz themail <bazthemail_at_gmail.com>
> wrote:
> > Hi,
> >
> > I see a svn data corruption error in Winodws but not sure if it is
> true or
> > not. Can someone confirm if it is really data corruption error or
> just
> > windows path length issue?

        Hi,

It can be data corruption and it can be a windows path length issue.

Could you retry your checkout with an absolute path?

e.g.

C:\works>svn co http://svn/product C:\works\product

Windows does not allow relative paths above 260 characters, but via \\?\
escaping it does allow absolute paths above 260 characters.

I think APR should make paths absolute when necessary, but my guess would be
that this didn't work in this case.

In the AnkhSVN project (Subversion for Visual Studio) we see some path
length issues from our users occasionally. We can work around most issues as
we always use absolute paths, but one of the major problems is that .Net
just doesn't support long paths on Windows. (And as some parts of Visual
Studio are implemented in .Net we can't always fix these issues).

        Bert

> >
> > The whole address of the directory (over 252 chars):
> >
> >
> http://svn/product/people/sssssssssss/branches/aaaaaaaaaaaaaaaa/Device/
> dddddddddd/WINCE600/platform/xxxxxxxxxxxxxxxxxxxxx/SRC/DRIVERS/DisplayI
> OE/WaveformData
> >
> >
> > Here is the command causing the problem and its output:
> >
> > C:\works>svn co http://svn/product product
> >
> > svn: Your .svn/tmp directory may be missing or corrupt; run 'svn
> cleanup'
> > and try again
> > svn: Can't open file
> >
> 'product\people\sssssssssss\branches\aaaaaaaaaaaaaaaa\Device\dddddddddd
> \WINCE60
> >
> 0\platform\xxxxxxxxxxxxxxxxxxxxx\SRC\DRIVERS\DisplayIOE\WaveformData\.s
> vn\tmp\text-base\3-phase_all_
> > transitions_base_waveforms_37usTg_70Vg_16Vs_12x20ms_wdt.lut.svn-
> base': The
> > system cannot find the pa
> > th specified.
> >
> > If I go down a few level and execute the command in a different way,
> then
> > there is no error:
> >
> > C:\works>svn co http://svn/product/people people
>
> There are known path length issues with SVN/APR on Windows. They've
> been discussed on this mailing list previously.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessage
> Id=1035759
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1036026

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-20 07:08:50 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.