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

Re: commit not unlocking with rc2?

From: Stephen Davis <subversion_at_soundgeek.org>
Date: 2005-05-14 20:30:44 CEST

User/developer error. I've been updating my CodeWarrior plugin for 1.2
lock support but had not updated my call to svn_client_commit() to use
svn_client_commit2(). I just found the bit in the header that says the
svn_client_commit() compatibility call passes in "keep_locks = true" to
svn_client_commit2().

While I'm testing, I use a combo of my plugin and the command line
client so I guess I got my steps mixed up. The cmd line client was
properly unlocking but my plugin wasn't.

Sorry for the false alarm.

stephen

On May 9, 2005, at 2:41 PM, Stephen Davis wrote:

> Apparently not. I tried to reproduce it with what I thought were my
> steps but couldn't. I had to do a couple of svn cleanups during the
> course of my lock experimenting (I was seeing what happens when one
> user locks and another tries to commit) so maybe I just got my wc's
> temporarily hosed. They seem okay now but I'll report back if I see
> it again.
>
> stephen
>
> On May 9, 2005, at 2:28 PM, Ben Collins-Sussman wrote:
>
>> I don't know how to reproduce this. Do you have a recipe we can
>> follow?
>>
>>
>>
>> On May 9, 2005, at 4:20 PM, Stephen Davis wrote:
>>
>>> It is my understanding that committing a locked item will
>>> automatically unlock it if the commit is successful. That doesn't
>>> appear to be happening for me so I'm wondering where I should start
>>> looking.
>>>
>>> 1.2.0-rc2, Mac OS X 10.3.9, file:// repository using FSFS.
>>>
>>> stephen
>>> --
>>> [SoundGeek ~/Development/Test/Work/ProjA]$ svn info AACDecoder.h
>>> Path: AACDecoder.h
>>> Name: AACDecoder.h
>>> URL:
>>> file:///Users/stephen/Development/Test/svntest/trunk/ProjA/
>>> AACDecoder.h
>>> Repository UUID: b5ec2128-ebec-0310-b373-ae7cc6f00d9a
>>> Revision: 41
>>> Node Kind: file
>>> Schedule: normal
>>> Last Changed Author: stephen
>>> Last Changed Rev: 41
>>> Last Changed Date: 2005-05-09 14:11:10 -0700 (Mon, 09 May 2005)
>>> Text Last Updated: 2005-05-09 14:11:10 -0700 (Mon, 09 May 2005)
>>> Properties Last Updated: 2005-05-09 13:35:14 -0700 (Mon, 09 May 2005)
>>> Checksum: 9832eef609c05797ddf96845f63879b3
>>> Lock Token: opaquelocktoken:a1ef0dd9-b2f6-0310-815c-d42e561e38b4
>>> Lock Owner: stephen
>>> Lock Created: 2005-05-09 14:08:56 -0700 (Mon, 09 May 2005)
>>> Lock Comment (1 line):
>>>
>>> [SoundGeek ~/Development/Test/Work/ProjA]$ svn ci AACDecoder.h -m
>>> 'why did the lock stick around?'
>>>
>>> [SoundGeek ~/Development/Test/Work/ProjA]$ svn info AACDecoder.h
>>> Path: AACDecoder.h
>>> Name: AACDecoder.h
>>> URL:
>>> file:///Users/stephen/Development/Test/svntest/trunk/ProjA/
>>> AACDecoder.h
>>> Repository UUID: b5ec2128-ebec-0310-b373-ae7cc6f00d9a
>>> Revision: 41
>>> Node Kind: file
>>> Schedule: normal
>>> Last Changed Author: stephen
>>> Last Changed Rev: 41
>>> Last Changed Date: 2005-05-09 14:11:10 -0700 (Mon, 09 May 2005)
>>> Text Last Updated: 2005-05-09 14:11:10 -0700 (Mon, 09 May 2005)
>>> Properties Last Updated: 2005-05-09 13:35:14 -0700 (Mon, 09 May 2005)
>>> Checksum: 9832eef609c05797ddf96845f63879b3
>>> Lock Token: opaquelocktoken:a1ef0dd9-b2f6-0310-815c-d42e561e38b4
>>> Lock Owner: stephen
>>> Lock Created: 2005-05-09 14:08:56 -0700 (Mon, 09 May 2005)
>>> Lock Comment (1 line):
>>>
>>> [SoundGeek ~/Development/Test/Work/ProjA]$ svn unlock AACDecoder.h
>>> 'AACDecoder.h' unlocked.
>>>
>>> [SoundGeek ~/Development/Test/Work/ProjA]$ svn info AACDecoder.h
>>> Path: AACDecoder.h
>>> Name: AACDecoder.h
>>> URL:
>>> file:///Users/stephen/Development/Test/svntest/trunk/ProjA/
>>> AACDecoder.h
>>> Repository UUID: b5ec2128-ebec-0310-b373-ae7cc6f00d9a
>>> Revision: 41
>>> Node Kind: file
>>> Schedule: normal
>>> Last Changed Author: stephen
>>> Last Changed Rev: 41
>>> Last Changed Date: 2005-05-09 14:11:10 -0700 (Mon, 09 May 2005)
>>> Text Last Updated: 2005-05-09 14:11:10 -0700 (Mon, 09 May 2005)
>>> Properties Last Updated: 2005-05-09 13:35:14 -0700 (Mon, 09 May 2005)
>>> Checksum: 9832eef609c05797ddf96845f63879b3
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 14 20:32:37 2005

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.