[PATCH] Lock-modify-unlock
Stefan Sperling
stsp at elego.de
Sun Jan 1 18:02:44 CST 2012
On Sun, Jan 01, 2012 at 06:34:37PM -0500, Richard Cavell wrote:
> Hi everyone.
>
> This patch is a little complicated, but I'd like to make clear that
> Sally must read the new version of the file if she's to do anything
> sensible with it. What do you all think?
>
> Richard
Hi Richard,
Happy new year! :)
I like this change. It makes the intended meaning a bit clearer.
> Index: ch01-fundamental-concepts.xml
> ===================================================================
> --- ch01-fundamental-concepts.xml (revision 4237)
> +++ ch01-fundamental-concepts.xml (working copy)
> @@ -197,10 +197,11 @@
> using locks. Harry must <quote>lock</quote> a file before
> he can begin making changes to it. If Harry has locked a
> file, Sally cannot also lock it, and therefore cannot make
> - any changes to that file. All she can do is read the file
> - and wait for Harry to finish his changes and release his
> - lock. After Harry unlocks the file, Sally can take her turn
> - by locking and editing the file.
> + any changes to that file. All she can do is
> + wait for Harry to finish his changes, save the file and
> + release his lock. After Harry unlocks the file, Sally
> + can take her turn by locking the file. Then she may read
> + the latest version of the file and edit it.
> <xref linkend="svn.basic.vsn-models.lock-unlock.dia-1"/>
> demonstrates this simple solution.</para>
>
More information about the svnbook-dev
mailing list