Fossil SCM
Process xfer-ticket-script for each round-trip to avoid lost hook invocations (thanks to Jan Nijtmans for catching this).
Commit
28a24c4ba6bdbec40dd47bd864beba25389aba39
Parent
4cfe13e962a95fe…
1 file changed
+1
-1
+1
-1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -1913,11 +1913,11 @@ | ||
| 1913 | 1913 | ** information which is only sent on the second round. |
| 1914 | 1914 | */ |
| 1915 | 1915 | if( cloneSeqno<=0 && nCycle>1 ) go = 0; |
| 1916 | 1916 | db_multi_exec("DROP TABLE onremote"); |
| 1917 | 1917 | if( go ){ |
| 1918 | - manifest_crosslink_end(MC_NONE); | |
| 1918 | + manifest_crosslink_end(MC_PERMIT_HOOKS); | |
| 1919 | 1919 | }else{ |
| 1920 | 1920 | manifest_crosslink_end(MC_PERMIT_HOOKS); |
| 1921 | 1921 | content_enable_dephantomize(1); |
| 1922 | 1922 | } |
| 1923 | 1923 | db_end_transaction(0); |
| 1924 | 1924 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -1913,11 +1913,11 @@ | |
| 1913 | ** information which is only sent on the second round. |
| 1914 | */ |
| 1915 | if( cloneSeqno<=0 && nCycle>1 ) go = 0; |
| 1916 | db_multi_exec("DROP TABLE onremote"); |
| 1917 | if( go ){ |
| 1918 | manifest_crosslink_end(MC_NONE); |
| 1919 | }else{ |
| 1920 | manifest_crosslink_end(MC_PERMIT_HOOKS); |
| 1921 | content_enable_dephantomize(1); |
| 1922 | } |
| 1923 | db_end_transaction(0); |
| 1924 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -1913,11 +1913,11 @@ | |
| 1913 | ** information which is only sent on the second round. |
| 1914 | */ |
| 1915 | if( cloneSeqno<=0 && nCycle>1 ) go = 0; |
| 1916 | db_multi_exec("DROP TABLE onremote"); |
| 1917 | if( go ){ |
| 1918 | manifest_crosslink_end(MC_PERMIT_HOOKS); |
| 1919 | }else{ |
| 1920 | manifest_crosslink_end(MC_PERMIT_HOOKS); |
| 1921 | content_enable_dephantomize(1); |
| 1922 | } |
| 1923 | db_end_transaction(0); |
| 1924 |