[PATCH] Lock-modify-unlock

Richard Cavell richardcavell at mail.com
Sun Jan 1 17:34:37 CST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20120101/e8f087e4/attachment.html>
-------------- next part --------------
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