Martin Fuller
unread,Feb 11, 2022, 4:27:55 PM2/11/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TortoiseSVN
We often find that TortoiseMerge loses whitespace when doing a 3-way merge, and we have tracked it down to the following example:
//base.c and mine.c
void doStuff() {
//some code
//some more code
}
//theirs.c
void doStuff() {
//some new code
if (newCondition) {
//some code
//some more code
}
}
Command-line: TortoiseMerge base.c mine.c theirs.c
Expected output: same as theirs.c, for all of the whitespace settings, because there is no change between base.c and mine.c.
Actual ouput: same as theirs.c only if "Compare whitespaces" is selected, otherwise with some lines unindented.
PS It is not realistic to use "Compare whitespaces" all the time, partly because TortoiseMerge does not produce smart comparisons in that case.