But the plugin relies on the assumption that the .bzr-upload.revid file on the remote site identify a snapshot: a set of files and directories for which the content is precisely known.
Whatever modification is done on the remote site breacks that assumption.
In that particular case, it will be innocuous to ignore the errors when deleting a file or a directory, since what the plugin want to do is... already done.
I'm a bit hesitant to accept that exception though as it can give a false sense of security regarding remote modifications.
May be a --force option may be added to address your case and some minor other ones.
I see your point.
But the plugin relies on the assumption that the .bzr-upload.revid file on the remote site identify a snapshot: a set of files and directories for which the content is precisely known.
Whatever modification is done on the remote site breacks that assumption.
In that particular case, it will be innocuous to ignore the errors when deleting a file or a directory, since what the plugin want to do is... already done.
I'm a bit hesitant to accept that exception though as it can give a false sense of security regarding remote modifications.
May be a --force option may be added to address your case and some minor other ones.
This needs discussion.