CVS commit by ossi:
undocumented flag -J to skip committing the new sync state.
M +1 -0 isync.h 1.48
M +3 -0 main.c 1.51
M +5 -3 sync.c 1.56
--- isync/src/sync.c #1.55:1.56
@@ -915,7 +915,9 @@ sync_boxes( store_t *ctx[], const char *
fclose( nfp );
fclose( jfp );
+ if (!(DFlags & KEEPJOURNAL)) {
/* order is important! */
rename( nname, dname );
unlink( jname );
+ }
bail:
--- isync/src/isync.h #1.47:1.48
@@ -197,4 +197,5 @@ extern const char *Home;
#define QUIET 4
#define VERYQUIET 8
+#define KEEPJOURNAL 16
extern int DFlags;
--- isync/src/main.c #1.50:1.51
@@ -373,4 +373,7 @@ main( int argc, char **argv )
DFlags |= DEBUG | QUIET;
break;
+ case 'J':
+ DFlags |= KEEPJOURNAL;
+ break;
case 'v':
version();
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel