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

Re: [TSVN] Problems committing a file: "Kann Sperre für Pfad 'f/q/p/to/the/file' nicht prüfen; keine entsprechende Sperrmarke verfügbar."

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-11 11:31:31 CEST

On 10/11/05, Lion.Gutjahr@escatec.ch <Lion.Gutjahr@escatec.ch> wrote:

> > Can you perhaps provide some recipe on how I could reproduce the problem?
> I don't know what i did to put the repo in this state. The only troubles i
> had were that the pathnames i initially imported while creating the repo
> were too long and TSVN wasn't able to do the job. I did that step manually
> with the cmd line client which accepts the MS "\\.\"-notation and
> succeeded.

Here's your problem. While TSVN failed correctly, the CL client did
not. But you see, neither TSVN nor the CL client really support the
\\.\ notation (i.e. paths longer than 250 chars). Well, even though
the CL client technically could (TSVN can't because the shell/explorer
can't either, so TSVN is limited by that), it doesn't really support
it. In fact, you'll get some nasty error messages.
Why is that you might ask - well, the Subversion library (and apr too)
uses the windows define MAX_PATH in several places to reserve memory
for paths, and MAX_PATH is defined to 260. So whenever you're dealing
with paths longer than 260chars, the Subversion library either cuts
the paths or triggers a buffer overflow...

The only solution for this kind of problem:

SUBST X: c:\path\to\some\working\copy\which\is\on\very\very\very\very\long\path

then access your working copy from X:\

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Oct 11 11:32:11 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.