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

Re: Fwd: Max Path Length Headache

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-02-18 20:31:57 CET

Branko Čibej <brane@xbc.nu> writes:

> >Sure they do. If I provide a working copy path to the Subversion
> >libraries, they calculate paths (such as where the ".svn" directory
> >for that wc-path is, and the stuff under that ".svn" path, etc.) as
> >relative to whatever input they were given.
> >
> Yes, certainly, but they can't do anything else, right? So if the
> input is absolute, then so are the paths the libraries use.

Riiiiight. Whatcha getting at here, Branko? What I said *was*
correct (though not altogether interesting or profound, I admit).
Perhaps we should just whistle and walk away from this?

> >Another (ugly) alternatively, though, is for the libraries to sanity
> >check the length of their relative paths, and, if approaching a known
> >danger zone, chdir() into (and back out of) the long path's parent
> >directory.
> >
> Oh yuck, absolutely not. CWD is a process-global attribute on most
> systems, and I don't want my library to change it behind my back.

FWIW, I completely agree. (In my defense, that idea was handed to me
by another individual.)

What feelings (besides "that'll be hard") do you have regarding the
translation to and from absoluteness by the Subversion command-line
client? Do you think this Windows limitation warrants the effort?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 18 20:36:20 2005

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.