Fossil

Check-in [28a24c4ba6]
Login

Check-in [28a24c4ba6]

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

Overview
Comment:Process xfer-ticket-script for each round-trip to avoid lost hook invocations (thanks to Jan Nijtmans for catching this).
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | per-round-trip-commit
Files: files | file ages | folders
SHA1: 28a24c4ba6bdbec40dd47bd864beba25389aba39
User & Date: andybradford 2014-05-20 05:23:22.613
Context
2014-05-20
05:47
Avoid misinterpretation of operator. ... (Closed-Leaf check-in: bfdc38243f user: andybradford tags: per-round-trip-commit)
05:23
Process xfer-ticket-script for each round-trip to avoid lost hook invocations (thanks to Jan Nijtmans for catching this). ... (check-in: 28a24c4ba6 user: andybradford tags: per-round-trip-commit)
2014-05-09
03:03
Correction in comment, no change in functionality. ... (check-in: 4cfe13e962 user: andybradford tags: per-round-trip-commit)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/xfer.c.
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
    ** we have gone at least two rounds.  Always go at least two rounds
    ** on a clone in order to be sure to retrieve the configuration
    ** information which is only sent on the second round.
    */
    if( cloneSeqno<=0 && nCycle>1 ) go = 0;
    db_multi_exec("DROP TABLE onremote");
    if( go ){
      manifest_crosslink_end(MC_NONE);
    }else{
      manifest_crosslink_end(MC_PERMIT_HOOKS);
      content_enable_dephantomize(1);
    }
    db_end_transaction(0);
  };
  transport_stats(&nSent, &nRcvd, 1);







|







1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
    ** we have gone at least two rounds.  Always go at least two rounds
    ** on a clone in order to be sure to retrieve the configuration
    ** information which is only sent on the second round.
    */
    if( cloneSeqno<=0 && nCycle>1 ) go = 0;
    db_multi_exec("DROP TABLE onremote");
    if( go ){
      manifest_crosslink_end(MC_PERMIT_HOOKS);
    }else{
      manifest_crosslink_end(MC_PERMIT_HOOKS);
      content_enable_dephantomize(1);
    }
    db_end_transaction(0);
  };
  transport_stats(&nSent, &nRcvd, 1);