From 3742fc475b6cac45739096f3fb68934b48f0bd3d Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 12 Jul 2014 13:50:12 +0200 Subject: [PATCH] deprecate the compat wrapper after a decade, it's about time to phase it out. --- NEWS | 4 ++++ src/compat/isync.1 | 3 +++ src/compat/main.c | 3 +++ 3 files changed, 10 insertions(+) diff --git a/NEWS b/NEWS index dd69fba..63f9d78 100644 --- 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 index c8ed9f3..527ca6a 100644 --- 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 index b8cc976..2ad6f07 100644 --- 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) )) {