You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by baz themail <ba...@gmail.com> on 2009/01/19 22:00:55 UTC

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

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?

The whole address of the directory (over 252 chars):

http://svn/product/people/sssssssssss/branches/aaaaaaaaaaaaaaaa/Device/dddddddddd/WINCE600/platform/xxxxxxxxxxxxxxxxxxxxx/SRC/DRIVERS/DisplayIOE/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\.svn\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

Thank you.

A.

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

Posted by Bert Huijben <rh...@sharpsvn.net>.
> -----Original Message-----
> From: Andy Levy [mailto:andy.levy@gmail.com]
> Sent: Monday, January 19, 2009 11:10 PM
> To: baz themail
> Cc: users@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 <ba...@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@subversion.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Andy Levy <an...@gmail.com>.
On Mon, Jan 19, 2009 at 17:00, baz themail <ba...@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?
>
> The whole address of the directory (over 252 chars):
>
> http://svn/product/people/sssssssssss/branches/aaaaaaaaaaaaaaaa/Device/dddddddddd/WINCE600/platform/xxxxxxxxxxxxxxxxxxxxx/SRC/DRIVERS/DisplayIOE/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\.svn\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&dsMessageId=1035759

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].