Fossil

Check-in [1eefb8dbec]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add documentation on the "pragma ci-unlock" message in the sync protocol.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1eefb8dbec7b42f5c156c60322292eba7cfc89e21ae1742a870c026ee352fe3f
User & Date: drh 2019-07-12 14:08:39.552
Context
2019-07-12
16:59
Do not invoke db_lget() in the sync protocol if the local checkout database is unavailable (such as when running "fossil all sync"). check-in: 0dba0f4b99 user: drh tags: trunk
14:08
Add documentation on the "pragma ci-unlock" message in the sync protocol. check-in: 1eefb8dbec user: drh tags: trunk
13:58
Improved error messages when a commit fails due to a lock conflict: Show the age of the lock in addition to the user. Suggest using the new --override-lock option instead of --allow-fork. Expire locks after any successful check-in from the same check-out. check-in: 3a5caa86db user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/sync.wiki.
722
723
724
725
726
727
728







729
730
731
732
733
734
735
subsequent ci-lock will provoke a ci-lock-fail pragma in the
reply to let the client know that it if continues with the
check-in it will likely generate a fork.  The LOGIN and MTIME
arguments are intended to provide information to the client to
help it generate a more useful error message.
</p>








</ol>

<h3>3.12 Comment Cards</h3>

<p>Any card that begins with "#" (ASCII 0x23) is a comment card and
is silently ignored.</p>








>
>
>
>
>
>
>







722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
subsequent ci-lock will provoke a ci-lock-fail pragma in the
reply to let the client know that it if continues with the
check-in it will likely generate a fork.  The LOGIN and MTIME
arguments are intended to provide information to the client to
help it generate a more useful error message.
</p>

<li><p><b>ci-unlock</b> <i>CLIENT-ID</i></p>
<p>A client sends the "ci-unlock" pragma to the server after
a successful commit.  This instructs the server to release
any lock on any check-in previously held by that client.
The ci-unlock pragma helps to avoid false-positive lock warnings
that might arise if a check-in is aborted and then restarted
on a branch.
</ol>

<h3>3.12 Comment Cards</h3>

<p>Any card that begins with "#" (ASCII 0x23) is a comment card and
is silently ignored.</p>