When a file is removed the message reports it correctly, but this doesn't work for messages.
As Daniel mentioned the two solutions are:
1) just send a message that says that the message has been removed;
2) don't send any message for removed files/msgs;
Solution 2) would avoid useless mail sent when someone e.g. updates a patch removing the previous version, but OTOH if a message or file is removed by mistake it might pass unnoticed.
There's also a third solution though:
3) avoid sending messages immediately for files/msgs that gets removed (and for any other "minor" changes, like in the nosy list or in the priority). Once another message is sent to the tracker, a single mail that includes the new message and the other minor changes that happened in the meanwhile (clarifying who is the author of each change) can be send. So if I add a name to the nosy, I delete a file, and then I add a message with a new patch only one mail will be sent.
The problem with this approach is that if someone deletes a file/msg by mistake no one will notice it until another message is sent. This is however a broader and different issue, but if it's accepted it will also fix #279.
|