Fossil SCM

Minor correction in comment. No change in functionality.

andybradford 2023-12-01 04:12 clone-resume
Commit 4fdc41bd05192bb4eb08239c2f2cc3dad649e91dd649189ee3ceb658ac0023e3
1 file changed +2 -2
+2 -2
--- src/xfer.c
+++ src/xfer.c
@@ -2837,12 +2837,12 @@
28372837
}
28382838
nUncRcvd += blob_size(&recv);
28392839
blob_reset(&recv);
28402840
nCycle++;
28412841
2842
- /* Record the current cloneSeqno in the event that clone fails to enable
2843
- ** the ability to resume from this same point in clone. */
2842
+ /* Record the current cloneSeqno in the event that clone fails. This
2843
+ ** enables the ability to resume from this same point in clone. */
28442844
if( (syncFlags & SYNC_CLONE)!=0 ){
28452845
db_set_int("aux-clone-seqno", cloneSeqno, 0);
28462846
}
28472847
/* Set go to 1 if we need to continue the sync/push/pull/clone for
28482848
** another round. Set go to 0 if it is time to quit. */
28492849
--- src/xfer.c
+++ src/xfer.c
@@ -2837,12 +2837,12 @@
2837 }
2838 nUncRcvd += blob_size(&recv);
2839 blob_reset(&recv);
2840 nCycle++;
2841
2842 /* Record the current cloneSeqno in the event that clone fails to enable
2843 ** the ability to resume from this same point in clone. */
2844 if( (syncFlags & SYNC_CLONE)!=0 ){
2845 db_set_int("aux-clone-seqno", cloneSeqno, 0);
2846 }
2847 /* Set go to 1 if we need to continue the sync/push/pull/clone for
2848 ** another round. Set go to 0 if it is time to quit. */
2849
--- src/xfer.c
+++ src/xfer.c
@@ -2837,12 +2837,12 @@
2837 }
2838 nUncRcvd += blob_size(&recv);
2839 blob_reset(&recv);
2840 nCycle++;
2841
2842 /* Record the current cloneSeqno in the event that clone fails. This
2843 ** enables the ability to resume from this same point in clone. */
2844 if( (syncFlags & SYNC_CLONE)!=0 ){
2845 db_set_int("aux-clone-seqno", cloneSeqno, 0);
2846 }
2847 /* Set go to 1 if we need to continue the sync/push/pull/clone for
2848 ** another round. Set go to 0 if it is time to quit. */
2849

Keyboard Shortcuts

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