You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Simon Whittaker <si...@swbh.net> on 2005/05/11 13:53:30 UTC

subversion and locking

Hi All,

I have recently installed subversion on a debian system and seem to have 
everything running quite happily for a multi-user environment. My 
problem now lies in the fact that my team are not happy working in a 
Copy-Modify-Merge environment as they do not feel it would work for 
them. They require the repository to block anyone else from checking out 
the file until it has been committed again.

This leaves me with a couple of options:
1/wait for version 1.2 to be released and _hope_ that it fulfills my 
expectations as regards locking.

2/ Use VSS as our source control software (I have read a lot which says 
that this is not the best way to go) and also it costs a bomb!

I would very much appreciate advice from anyone that has used and tested 
the 1.2 version especially as regards the locking

Cheers

Simon

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

Re: subversion and locking

Posted by Ryan Ernst <re...@warflame.ca>.
Ben Collins-Sussman said:
>
> On May 11, 2005, at 10:31 AM, Simon Whittaker wrote:
>>
>> If subversion 1.2 can emulate VSS in this capacity then I will use
>> this otherwise I will be using VSS :(
>>
>
> Well, you'll be missing out on half the point of Subversion, but at
> least it will be cheaper.  :(

One additional consequence of using a lock model is that productivity can
sink like a rock, for several reasons. If your developers aren't in
regular communication and a file one needs is locked by another, then you
have to wait until the other is around to unlock it. The second reason is
the obvious speedup of having two or more people work on one file. Having
used VSS at various points, I can say that the lock-unlock model *is*
horrible, especially what you intend to use it for.

If you're not in a position to make decisions as to what model you use,
you can at least go with subversion 1.2 and the lock model, and then later
attempt to persuade your developers (and whomever else is in the way) that
the copy-modify-merge solution is the way to go.

-- 
Ryan Ernst
http://shadowlife.warflame.ca

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

Re: subversion and locking

Posted by Ben Collins-Sussman <su...@collab.net>.
On May 11, 2005, at 10:31 AM, Simon Whittaker wrote:

> There was very strong dissent towards the idea of multiple users  
> editing the same file and I have been informed that any source  
> control software would _have_ to conform to the lock-modify-unlock  
> system.

Alas, that opinion is usually out of fear and ignorance.  "It's  
always been this way, we don't ever want to change.  Concurrency  
couldn't possibly work, it's too dangerous!"

But it sounds like you're not in a position to argue or persuade,  
you're only able to comply with decrees.  Sorry about that.


> If subversion 1.2 can emulate VSS in this capacity then I will use  
> this otherwise I will be using VSS :(
>

Well, you'll be missing out on half the point of Subversion, but at  
least it will be cheaper.  :(


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

Re: subversion and locking

Posted by Simon Whittaker <si...@swbh.net>.
Ben Collins-Sussman wrote:
> 
> 
> On May 11, 2005, at 8:53 AM, Simon Whittaker wrote:
> 
>> Hi All,
>>
>> I have recently installed subversion on a debian system and seem to  
>> have everything running quite happily for a multi-user environment.  
>> My problem now lies in the fact that my team are not happy working  in 
>> a Copy-Modify-Merge environment as they do not feel it would  work for 
>> them. They require the repository to block anyone else  from checking 
>> out the file until it has been committed again.
>>
> 
> Are all of the files binary formats?  Ones that can't be merged?  Or  
> they mostly source code?  If the latter, then I suggest you might  have 
> an education problem, rather than a requirements problem.  I  suggest 
> that you (and your team, especially) read the copy-modify- merge 
> discussion in chapter 2 of the book.
> 
The files are coldfusion code so should be able to be merged with no 
probs but the problem lies with the userbase.
> 
>> This leaves me with a couple of options:
>> 1/wait for version 1.2 to be released and _hope_ that it fulfills  my 
>> expectations as regards locking.
> 
> 
> Well, that's only a week away.  You can test the rc3 candidate right  
> now if you want.  There are also release notes describing the locking  UI:
> 
>    http://subversion.tigris.org/svn_1.2_releasenotes.html
> 
> The new locking feature certainly *can* be used to emulate VSS, but  
> it's really meant to be used only on unmergable binary files (where  
> lock-modify-unlock is truly required).
> 
There was very strong dissent towards the idea of multiple users editing 
the same file and I have been informed that any source control software 
would _have_ to conform to the lock-modify-unlock system. If subversion 
1.2 can emulate VSS in this capacity then I will use this otherwise I 
will be using VSS :(


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

Re: subversion and locking

Posted by Ben Collins-Sussman <su...@collab.net>.

On May 11, 2005, at 8:53 AM, Simon Whittaker wrote:

> Hi All,
>
> I have recently installed subversion on a debian system and seem to  
> have everything running quite happily for a multi-user environment.  
> My problem now lies in the fact that my team are not happy working  
> in a Copy-Modify-Merge environment as they do not feel it would  
> work for them. They require the repository to block anyone else  
> from checking out the file until it has been committed again.
>

Are all of the files binary formats?  Ones that can't be merged?  Or  
they mostly source code?  If the latter, then I suggest you might  
have an education problem, rather than a requirements problem.  I  
suggest that you (and your team, especially) read the copy-modify- 
merge discussion in chapter 2 of the book.


> This leaves me with a couple of options:
> 1/wait for version 1.2 to be released and _hope_ that it fulfills  
> my expectations as regards locking.

Well, that's only a week away.  You can test the rc3 candidate right  
now if you want.  There are also release notes describing the locking  
UI:

    http://subversion.tigris.org/svn_1.2_releasenotes.html

The new locking feature certainly *can* be used to emulate VSS, but  
it's really meant to be used only on unmergable binary files (where  
lock-modify-unlock is truly required).


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

Re: subversion and locking

Posted by Jerry Haltom <wa...@larvalstage.net>.
You have presented no actual reason as to why you need locks. When you
do, I'll try to refute it.

On Wed, 2005-05-11 at 14:53 +0100, Simon Whittaker wrote:
> Hi All,
> 
> I have recently installed subversion on a debian system and seem to have 
> everything running quite happily for a multi-user environment. My 
> problem now lies in the fact that my team are not happy working in a 
> Copy-Modify-Merge environment as they do not feel it would work for 
> them. They require the repository to block anyone else from checking out 
> the file until it has been committed again.
> 
> This leaves me with a couple of options:
> 1/wait for version 1.2 to be released and _hope_ that it fulfills my 
> expectations as regards locking.
> 
> 2/ Use VSS as our source control software (I have read a lot which says 
> that this is not the best way to go) and also it costs a bomb!
> 
> I would very much appreciate advice from anyone that has used and tested 
> the 1.2 version especially as regards the locking
> 
> Cheers
> 
> Simon
> 
> ---------------------------------------------------------------------
> 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