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

Re: Commit fails on locked files

From: HOUDROGE Rami <rami.houdroge_at_thalesgroup.com>
Date: Fri, 24 May 2013 14:05:38 +0200

I could provide a script, but I doubt it would be of any use. It will execute as it should on your pcs.

I didn't clearly mention that subversion is installed on a Apache 2.2.17 server with webdav_svn. We think there might be an incompatibility somewhere (see http://subversion.1072662.n5.nabble.com/Subversion-Llocked-file-could-not-able-to-commit-the-changes-td137837.html)

There's literally nothing more than what I indicated already :

1. new file
2. add file
3. commit file
4. lock file
5. modify file
6. commit file

Le 23/05/2013 16:17, Johan Corveleyn a écrit :

> Le 23/05/2013 15:59, Philip Martin a écrit :
>
> HOUDROGE Rami <rami.houdroge_at_thalesgroup.com><mailto:rami.houdroge_at_thalesgroup.com> writes:
>
>> I am experiencing a problem that has been reported a couple of times
>> accross the web.
>>
>> 1. new file
>> 2. add file
>> 3. commit file
>> 4. lock file
>> 5. modify file
>> 6. commit file
>>
>> and that last commit fails with the following error :
>>
>> Cannot verify lock on path '...'; no matching lock-token available.
>>
>> [cid:part1.03020408.00020306_at_thalesgroup.com]
>>
>> I am certain no one stole the lock and I am also certain that,
>> locally, only one working copy has the lock.
>
> Run 'svn info' on the working copy file to see the lock token in the
> working copy. Run 'svn info' on the URL to see the lock token in the
> repository. How do the locks compare (token, username, date)?
>
> --
> Certified & Supported Apache Subversion Downloads:
> http://www.wandisco.com/subversion/download
>

On Thu, May 23, 2013 at 4:04 PM, HOUDROGE Rami
<rami.houdroge_at_thalesgroup.com><mailto:rami.houdroge_at_thalesgroup.com> wrote:
> They're the same.
>
> Local file :
> Lock Token: opaquelocktoken:2a0cb251-8e5c-4b2e-9eb2-282abb2d67e6
> Lock Owner: houdroge
> Lock Created: 2013-05-23 15:14:37 +0200 (jeu., 23 mai 2013)
>
> Remote file :
> Lock Token: opaquelocktoken:2a0cb251-8e5c-4b2e-9eb2-282abb2d67e6
> Lock Owner: houdroge
> Lock Created: 2013-05-23 15:14:37 +0200 (jeu., 23 mai 2013)
>
>

Rami,

Can you please try to reproduce this with commandline svn, and provide
us a full transcript of what you do to reproduce this (maybe with a
test file / test repository)? Or even better, a fully self-contained
reproduction script (I guess you're on Windows, so see [1] for a
template of a .bat reproduction script).

[1] http://subversion.apache.org/docs/community-guide/repro-template.bat

--
Johan
.
Received on 2013-05-24 14:06:15 CEST

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.