Fossil SCM

Add documentation on the "pragma ci-unlock" message in the sync protocol.

drh 2019-07-12 14:08 trunk
Commit 1eefb8dbec7b42f5c156c60322292eba7cfc89e21ae1742a870c026ee352fe3f
1 file changed +7
--- www/sync.wiki
+++ www/sync.wiki
@@ -724,10 +724,17 @@
724724
check-in it will likely generate a fork. The LOGIN and MTIME
725725
arguments are intended to provide information to the client to
726726
help it generate a more useful error message.
727727
</p>
728728
729
+<li><p><b>ci-unlock</b> <i>CLIENT-ID</i></p>
730
+<p>A client sends the "ci-unlock" pragma to the server after
731
+a successful commit. This instructs the server to release
732
+any lock on any check-in previously held by that client.
733
+The ci-unlock pragma helps to avoid false-positive lock warnings
734
+that might arise if a check-in is aborted and then restarted
735
+on a branch.
729736
</ol>
730737
731738
<h3>3.12 Comment Cards</h3>
732739
733740
<p>Any card that begins with "#" (ASCII 0x23) is a comment card and
734741
--- www/sync.wiki
+++ www/sync.wiki
@@ -724,10 +724,17 @@
724 check-in it will likely generate a fork. The LOGIN and MTIME
725 arguments are intended to provide information to the client to
726 help it generate a more useful error message.
727 </p>
728
 
 
 
 
 
 
 
729 </ol>
730
731 <h3>3.12 Comment Cards</h3>
732
733 <p>Any card that begins with "#" (ASCII 0x23) is a comment card and
734
--- www/sync.wiki
+++ www/sync.wiki
@@ -724,10 +724,17 @@
724 check-in it will likely generate a fork. The LOGIN and MTIME
725 arguments are intended to provide information to the client to
726 help it generate a more useful error message.
727 </p>
728
729 <li><p><b>ci-unlock</b> <i>CLIENT-ID</i></p>
730 <p>A client sends the "ci-unlock" pragma to the server after
731 a successful commit. This instructs the server to release
732 any lock on any check-in previously held by that client.
733 The ci-unlock pragma helps to avoid false-positive lock warnings
734 that might arise if a check-in is aborted and then restarted
735 on a branch.
736 </ol>
737
738 <h3>3.12 Comment Cards</h3>
739
740 <p>Any card that begins with "#" (ASCII 0x23) is a comment card and
741

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button