On 3/5/08, Gleason, Todd <tgleason_at_impac.com> wrote:
> I think the Windows limits are determined by the API the application uses. In this case, the Subversion client is not using the CreateDirectoryEx() API that allows longer paths. See
>
> http://www.mail-archive.com/dev@apr.apache.org/msg19605.html
>
> (A patch to fix this has been submitted, but as of 02/28, Stefan said it had not been applied (see thread "tsvn:logminsize").)
Assuming you're on a new enough Windows, then this should work:
C:\> svn checkout http://my-host/url/to/repos \\?\C:\path\to\working\copy
HTH,
Erik.
> For now I think you're stuck with the 250 (maybe 248) length limit.
>
> -----Original Message-----
> From: Schroeder, Hartmut [mailto:Hartmut.Schroeder_at_plath.de]
> Sent: Wednesday, March 05, 2008 5:53 AM
> To: Erik Huelsmann; Andy Levy
> Cc: users_at_subversion.tigris.org
> Subject: AW: checkout results in "... directory may be missing or corrupt"
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Erik Huelsmann [mailto:ehuels_at_gmail.com]
> Gesendet: Mittwoch, 5. März 2008 13:28
> An: Andy Levy
> Cc: Schroeder, Hartmut; users_at_subversion.tigris.org
> Betreff: Re: checkout results in "... directory may be missing or corrupt"
>
> On 3/5/08, Andy Levy <andy.levy_at_gmail.com> wrote:
> > On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut
> > <Hartmut.Schroeder_at_plath.de> wrote:
> > > Hi,
> > > on windows a checkout
> > > svn checkout http://srv-ew-data:9080/csc-base
> > >
> > > results in
> > > "your .svn/tmp directory may be missing or corrupt"
> > >
> > > exactly:
> > >
> > > A csc-test\trunk\PdeProjects\UserPrivilegesAPI\plugins\de.plath.csc.userprivileges\src\test\java\de\plath\csc\userprivileges\acegi\dataManagement\inmemory
> > > svn: Ihr .svn/tmp Verzeichnis könnte fehlen oder beschädigt sein; führen Sie
> > > »svn cleanup« aus und versuchen Sie es erneut
> > > svn: Kann Datei
> > > »csc-test\trunk\PdeProjects\UserPrivilegesAPI\plugins\de.plath.csc.userprivileges\src\test\java\de\plath\csc\userprivileges\acegi\dataManagement\inmemory\.svn\tmp\text-base\UserProviderTests.java.svn-base«
> > > nicht öffnen: Das System kann den angegebenen Pfad nicht finden.
> > >
> > > I know the maximal path length under windows is 255 chars, and that seems to be here the case.
> > >
> > > Is there a workaround or is subversion under windows not to use ?
> >
> > Subversion works perfectly fine on Windows, within the limits of
> > Windows itself (which is what you're running into here).
> >
> > Can you check out at a deeper level? You're checking out from a
> > directory above the trunk - this implies to me that you need to check
> > out trunk, tags and branches (assuming your repository has them).
> > Could you check trunk out directly to a directory off the root of your
> > drive (to shorten the path)?
>
> Or alternatively, you can use Windows absolute paths, which will be
> converted to paths of maximum length 65535 characters...
>
> HTH,
>
> Erik.
>
>
>
> Can you explain how to use it with a svn checkout?
>
> Hartmut
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
Received on 2008-03-05 17:49:35 CET