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

Can Long File Names Crash SVN.exe?

From: Cory Trese <cory.trese_at_gmail.com>
Date: 2007-09-27 22:00:04 CEST

I am having some problems with SVN.exe

My error message is coming from "svn up" against a working copy:

A Services\SMW
BizTalk\Smartworks.BizTalk.RxPad.GetLicenseProfile\WebService\Smartworks.BizTalk.RxPad.GetLicenseProfile\Web.config

svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup'
and try again
svn: Can't open file 'Services\SMW
BizTalk\Smartworks.BizTalk.RxPad.GetLicenseProfile\WebService\Smartworks.BizTalk.RxPad.GetLicenseProfile\

_svn\tmp\text-base\WebService_Smartworks_BizTalk_RxPad_GetLicenseProfile.asmx.svn-base':
The system cannot find the path specified.

I appears that the string "Services\SMW
BizTalk\Smartworks.BizTalk.RxPad.GetLicenseProfile\WebService\Smartworks.BizTalk.RxPad.GetLicenseProfile\Web.config"
is ok, but "Services\SMW
BizTalk\Smartworks.BizTalk.RxPad.GetLicenseProfile\WebService\Smartworks.BizTalk.RxPad.GetLicenseProfile\"
pushes it beyond the limit and it fails.

At first I thought perhaps I was exhausting the available path characters in
Windows, but the Microsoft FS documentation for the OS (see below for OS
information) as well as my tests creating the file that SVN.exe is
complaining on seem to point towards an SVN client defect. I am able to
create and read/write the file using a C# test application without error.

Subversion Information:
E:\CruiseControlSVN\smw_code\trunk\SMARTworks6\SW6\Smartworks\App>svn
--version
svn, version 1.4.5 (r25188)
   compiled Aug 22 2007, 20:49:04

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (
http://www.Collab.Net/).

System Information:
OS Name: Microsoft(R) Windows(R) Server 2003, Standard
Edition
OS Version: 5.2.3790 Service Pack 1 Build 3790
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Server
OS Build Type: Multiprocessor Free
Registered Owner: SRC
Registered Organization: SRC
Product ID: 69712-640-1771714-45960
Original Install Date: 1/5/2006, 2:42:42 PM

Environment:
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0409
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=RDP-Tcp#12
SVN_ASP_DOT_NET_HACK=1
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ctrese\LOCALS~1\Temp\4
TMP=C:\DOCUME~1\ctrese\LOCALS~1\Temp\4

-- 
Cory Trese
ph#:     937-609-9644
e-m:    cory.trese@gmail.com
www:  http://www.corytrese.com/
Received on Fri Sep 28 00:56:24 2007

This is an archived mail posted to the Subversion Dev mailing list.

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