You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mohammad Shamsi <m....@gmail.com> on 2007/11/17 08:51:44 UTC

check in & check out (just like ms source safe)

 hi all,

 we just switch to svn, from source safe,  you know that vss used check
 in, check out strategy, im looking for something like it in
 subversion.

 is it possible to restrict users concurrent access to same file ? in
 other words, just one user allowed to edit a file in same time. ???



 sincerely yours
 M. H. Shamsi

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

Re: check in & check out (just like ms source safe)

Posted by Nicolai Scheer <sc...@planetavent.de>.
Hi!

Mohammad Shamsi schrieb:
>  hi all,
> 
>  we just switch to svn, from source safe,  you know that vss used check
>  in, check out strategy, im looking for something like it in
>  subversion.
> 
>  is it possible to restrict users concurrent access to same file ? in
>  other words, just one user allowed to edit a file in same time. ???

You may use locking. But usually this should be only needed when dealing
with binary files. Subversion uses another approach than source safe.
If you really want to use Subversion the way it is intended, then you
should not try to emulate source safe using Subversion locking, but read
into the details and give it a try:

http://svnbook.red-bean.com/

Especially http://svnbook.red-bean.com/en/1.4/svn.basic.vsn-models.html

Many users think that editing files concurrently will mess them up, but
that's not the case. Of course it is possible to mess up things, this
often is the case when people do not know what they are doing with their
sourcecode.

greetings,

Nico

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

RE: check in & check out (just like ms source safe)

Posted by "Roth, Pierre" <pi...@covidien.com>.
 
> is it possible to restrict users concurrent access to same file ? in
other words, just one user allowed to edit a file in same time. ???

Yes you just have to configure your files to be locked before editing,
see
http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.advanced.locking


---------------------------------------------------------------------
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