subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenz <>
Subject Re: Implementing the Lock->Edit->Unlock cycle
Date Thu, 29 Sep 2016 13:50:00 GMT
Anton Shepelev wrote:
>We  are migrating to SVN from the dreaded SourceSafe
>and should like to retain, if only at the start, the
>exclusive  check-out  process,  with  the  following
>*atomic* operations which  should  be  performed  as
>easily as possible:
>  1.  lock and update,
>      lest  one  might accidentally start editing an
>      old version of some file.

"svn lock" will fail if your working copy is not up to date.

So using svn:needs-lock and an editor that prevents you from modifying
read-only files should do the job.


View raw message