commit 3742fc475b6cac45739096f3fb68934b48f0bd3d
parent 2a3963af58993586f187e5a85e02f75a68ee06e0
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date: Sat, 12 Jul 2014 13:50:12 +0200
deprecate the compat wrapper
after a decade, it's about time to phase it out.
Diffstat:
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
@@ -1,3 +1,7 @@
+[1.2.0]
+
+The 'isync' compatibility wrapper is now deprecated.
+
[1.1.0]
Support for hierarchical mailboxes in Patterns.
diff --git a/src/compat/isync.1 b/src/compat/isync.1
@@ -37,6 +37,9 @@ It will automatically migrate the UID mapping from previous versions of
\fBmbsync\fR. If you were using \fBisync\fR version 0.8 or 0.9.x you might
want to use \fBmdconvert\fR to convert the mailboxes to the more efficient
\fBnative\fR UID storage scheme after migrating them.
+.br
+\fBisync\fR is deprecated. Please use the \fB-w\fR option to permanently
+migrate the configuration and start using \fBmbsync\fR directly.
..
.SH OPTIONS
.TP
diff --git a/src/compat/main.c b/src/compat/main.c
@@ -288,6 +288,9 @@ main( int argc, char **argv )
}
}
+ if (!writeout)
+ fputs( "Notice: please run 'isync -w' and start using 'mbsync' directly.\n", stderr );
+
if (config) {
if (*config != '/') {
if (!getcwd( path1, sizeof(path1) )) {