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

Re: Problems with the size of file`s path

From: Leandro Silva <leandroswquality_at_gmail.com>
Date: Fri, 7 Nov 2008 13:53:15 -0200

The limitation is not in the repository, but is in the working copy path as
you said.

Here, all the subversion clients run at windows and all the working copy are
stored at D:\Svn. The users have the habit to sincronize all the repository.

I would like to limit at repository, blocking all the commits wich add files
that its path are great than X characteres. Doing this, we prevent many
problems to happen caused by this problem. This is not a complete solution,
but is enough to us.

2008/11/7 Andy Levy <andy.levy_at_gmail.com>

> On Fri, Nov 7, 2008 at 10:17, Leandro Silva <leandroswquality_at_gmail.com>
> wrote:
> > Hi,
> >
> > Here we are having problems with the size of file`s path. Anyone knows if
> it
> > is possible to creat a hook script that limits this size?
> >
> > If you have one, please send it to me.
>
> Are you certain that the limitation is in the repository itself, and
> not with the working copy path? There's a path length limit in some
> Windows APIs used by Subversion/APR.
>
> What I'm getting at is that no matter how short the path in the
> repository, you could in theory attempt to check out a working copy
> which breaks that Windows limit, if your directory structure/names on
> the Windows machine is long enough. A hook script won't prevent that
> from happening.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

-- 
Leandro de Paula Silva
leandro.silva.comp_at_gmail.com
Received on 2008-11-07 16:53:39 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.