This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.5.18: MAX_PATH not meeting me needs - shorter than windows max path.


Hi,

I have some paths that are long.  I am providing an example that is 268
bytes long (sorry about the line wrapping):

 

/cygdrive/c/Documents and Settings/yjongkind/My
Documents/src/tlm/clients/SNSMR/RMV/Assets/RMV Technical
Documentation/Projects/C490735 - Personalized_Plates_MTC/New_V2.0/System
Testing/Accept Testing/Phase
IV/.svn/props/sys_testplan_customer_and_other_B.wpd.svn-work

 

This path works fine with 'native' windows commands and under Linux.
However under cygwin they appear to exceed max path.  I know it's
probably a big deal.  But I think that MAXPATH (in it's many forms)
should be extended in Cygwin.  What follows is some evidence that the
error is not exclusive to svn (subversion) but to many applications:

 

SVN

 

$ svn status
svn: Can't stat 'Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase
IV/.svn/props/sys_testplan_customer_and_other_B.wpd.svn-work': File name
too long

 

FIND

 

$ find Assets/RMV\ Technical\ Documentation/Projects/C490735\ -\
Personalized_Plates_MTC/New_V2.0/System\ Testing/Accept\ Testing/P
hase\ IV/ -exec echo -n . \;
......find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Pha
se IV/.svn/prop-base/Client Verification Screens.qpw.svn-base: File name
too long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/prop-base/sys_testplan_customer_and_other_B.wpd.svn-base: File
name too long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/props/Client Verification Screens.qpw.svn-work: File name too long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/props/sys_testplan_customer_and_other_B.wpd.svn-work: File name
too long

..find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase I
V/.svn/text-base/Client Verification Screens.qpw.svn-base: File name too
long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/text-base/sys_testplan_customer_and_other_B.wpd.svn-base: File
name too long

.........

 

LS

 

$ ls Assets/RMV\ Technical\ Documentation/Projects/C490735\ -\
Personalized_Plates_MTC/New_V2.0/System\ Testing/Accept\ Testing/Pha

se\ IV/.svn/text-base/

ls: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase
IV/.s
vn/text-base/Client Verification Screens.qpw.svn-base: File name too
long
ls: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase
IV/.s
vn/text-base/sys_testplan_customer_and_other_B.wpd.svn-base: File name
too long
External Agencies.qpw.svn-base*

 

All this was executed from:


$ pwd

/cygdrive/c/Documents and Settings/yjongkind/My
Documents/src/tlm/clients/SNSMR/RMV

 


I hope that this make my issue clear.  I am aware of 2 work-arounds
(move the files closer to c:\ and, what I am presently doing, which is
using the version of svn compiled for windows.

Y.

Attachment: cygcheck.out
Description: cygcheck.out

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]