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

Re: [TSVN] How to mark files as "work in process"?

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-03-22 17:28:21 CET

Schmidt, Maik wrote:
> I'm currently evaluating CVS and Subversion for deployment in the
> R&D-Department I'm working in. We have only a small codebase with
> very few projects and we are only three persons working with that so
> I could convince my superior that we could easily use an open source
> solution. Fine. After comparing CVS with Subversion I thought
> Subversion would be the better choice, especially with since
> TortoiseSVN is as userfriendly as TortoiseCVS is (which I' using at
> home for myself).

Subversion has many other benefits over CVS including atomic commits
which link related file chages together, local pristine copies which
makes diffing your local changes very fast, good network scalability,
etc.

> Problem:
> My superiors demands that the version management we will be using has
> the possibility to tell the user that a file is in use by someone
> other. With (Tortoise)CVS you can activate something like "check out
> write protected" and then de-protect the files for editing -- with
> that you can see if someone is working with a file. He doesn't want
> this lock to be a true lock, he just wants a possibility to see if
> someone other is working at that file already.

Soon, soon. Subversion 1.2 is due to enter it's release phase next week
and that will take about another month to complete. The new version
implements optional file locking, which means you can mark a file as
requiring a lock. In order to commit changes you have to be in
possession of the lock token.

However, the big question is why your superiors want this. For binary
files where merging of changes is not possible then the answer is
obvious. But for text files (source code, html, etc.) the standard
methods work better. The subversion book describes the different ways of
working very well, including the problems associated with locking
systems. Both subversion and TSVN are hosted on subversion repositories
without locking. There are only a few active committers on TSVN, but
subversion has a considerable number.

Simon

-- 
       ___
  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 Mar 22 17:27:55 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.