You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Schroeder, Hartmut" <Ha...@plath.de> on 2008/03/05 11:39:39 UTC

checkout results in "... directory may be missing or corrupt"

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 ?

Thanks.



Hartmut


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


AW: checkout results in "... directory may be missing or corrupt"

Posted by "Schroeder, Hartmut" <Ha...@plath.de>.
I need to be free in choosing the root path.
Is there no other solution for that problem?

thanks


Hartmut 

-----Ursprüngliche Nachricht-----
Von: Andy Levy [mailto:andy.levy@gmail.com] 
Gesendet: Mittwoch, 5. März 2008 13:11
An: Schroeder, Hartmut
Cc: users@subversion.tigris.org
Betreff: Re: checkout results in "... directory may be missing or corrupt"

On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut <Ha...@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.use
> rprivileges\src\test\java\de\plath\csc\userprivileges\acegi\dataManage
> ment\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)?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: AW: checkout results in "... directory may be missing or corrupt"

Posted by Erik Huelsmann <eh...@gmail.com>.
On 3/5/08, Gleason, Todd <tg...@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@plath.de]
> Sent: Wednesday, March 05, 2008 5:53 AM
> To: Erik Huelsmann; Andy Levy
> Cc: users@subversion.tigris.org
> Subject: AW: checkout results in "... directory may be missing or corrupt"
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Erik Huelsmann [mailto:ehuels@gmail.com]
> Gesendet: Mittwoch, 5. März 2008 13:28
> An: Andy Levy
> Cc: Schroeder, Hartmut; users@subversion.tigris.org
> Betreff: Re: checkout results in "... directory may be missing or corrupt"
>
> On 3/5/08, Andy Levy <an...@gmail.com> wrote:
> > On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut
> > <Ha...@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@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

RE: AW: checkout results in "... directory may be missing or corrupt"

Posted by "Gleason, Todd" <tg...@impac.com>.
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").)

For now I think you're stuck with the 250 (maybe 248) length limit.

-----Original Message-----
From: Schroeder, Hartmut [mailto:Hartmut.Schroeder@plath.de] 
Sent: Wednesday, March 05, 2008 5:53 AM
To: Erik Huelsmann; Andy Levy
Cc: users@subversion.tigris.org
Subject: AW: checkout results in "... directory may be missing or corrupt"

 

-----Ursprüngliche Nachricht-----
Von: Erik Huelsmann [mailto:ehuels@gmail.com] 
Gesendet: Mittwoch, 5. März 2008 13:28
An: Andy Levy
Cc: Schroeder, Hartmut; users@subversion.tigris.org
Betreff: Re: checkout results in "... directory may be missing or corrupt"

On 3/5/08, Andy Levy <an...@gmail.com> wrote:
> On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut
> <Ha...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


AW: checkout results in "... directory may be missing or corrupt"

Posted by "Schroeder, Hartmut" <Ha...@plath.de>.
 

-----Ursprüngliche Nachricht-----
Von: Erik Huelsmann [mailto:ehuels@gmail.com] 
Gesendet: Mittwoch, 5. März 2008 13:28
An: Andy Levy
Cc: Schroeder, Hartmut; users@subversion.tigris.org
Betreff: Re: checkout results in "... directory may be missing or corrupt"

On 3/5/08, Andy Levy <an...@gmail.com> wrote:
> On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut
> <Ha...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: checkout results in "... directory may be missing or corrupt"

Posted by Erik Huelsmann <eh...@gmail.com>.
On 3/5/08, Andy Levy <an...@gmail.com> wrote:
> On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut
> <Ha...@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.

Re: checkout results in "... directory may be missing or corrupt"

Posted by Andy Levy <an...@gmail.com>.
On Wed, Mar 5, 2008 at 6:39 AM, Schroeder, Hartmut
<Ha...@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)?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org