Created attachment 2036 xdt-commit patch The following patch fixes the following problems in the current xdt-commit: * It does not properly detect changed ChangeLog files in svn, it thinks all have always changed. * It relies on grep -P being available, it is not available on at least Debian and Ubuntu. To fix this I invoke perl instead, as I couldn't find a way of performing the same thing with my grep. * At least when committing multiple translation updates, it would simply concatenate the ChangeLog messages, yielding several identical messages. I prefix every ChangeLog message with the directory of the ChangeLog, so it would look like this, for example: xfce4-panel/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) xfdesktop/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) etc I imagine this would be the most controversial change this patch introduces. I imagine it could be improved further (to work well when committing from the same directory as the ChangeLog resides in; I imagine that would currently result in .: which is not very pretty).
Patch applied in revision 29499: * scripts/xdt-commit: Replace grep -P with awk and thus make the script more portable. Properly detect changed ChangeLogs in SVN. This should get rid the empty lines when committing several changed ChangeLogs (bug #4716). Patch provided by Alexander Toresson. As you can see I don't really like perl so I replaced it with awk which should be just as portable as perl. Please give it a try.
Marking as fixed as per Jannis' last comment.