In the current version of GTD Sync the following logic applies: when you did not specify a location of todo.txt (attribute todoTxtPath is not present), it is assumed that you synchronise with todo.txt for the first time. In GTD Sync v1.0.0 it you will be able to specify the location of todo.txt before the first synchronisation, so that the assumption about a first synchronisation could be incorrect. That is why it is better to assume that is your first synchronisation when there is no timestamp for the last synchronisation (attribute dateLastSync is not present).
Logic and exceptions for first synchronisation are quite different from other synchronisations. Behaviour might change slightly from you point of view. Features might be added to GTD Sync v0.8.0 for these small changes or small improvements.
Todo
Review and adapt test cases with regard to presence of todoTxtPath and dateLastSyncAdaptGTDSync.groovyand messages and their translationsLast edit: Henk van den Akker 2023-05-22