Hi Martin,

AFAIK this is by design.
A version is always a *repository* version, so if a file has been changed in 
revision x and y (with y>x),
all revisions z with x < z < y are identical with version x, these revisions 
had been created because some other file changed.
So comparing version y with the previous version means both:

  1.  compare it with y-1
  2.  compare it with x
because versions x and y-1 are the same thing for *this* file.

I would guess that the diff routine diffing version y with the previous version 
doesn't care what version (x) that file changed last
and simply requests y-1 from the server, and displays it this way, which might 
be misleading if a user is new to the version number scheme SVN uses,
but which is correct.

Mit freundlichen Grüßen
Dr. Hartmut Niemann


Von: Martin Nielsen via TortoiseSVN 
<tortoisesvn+apn2wqfncsiswffpoelblj_tl5trrrqdrt1twlvtx54ee3gvm...@googlegroups.com>
Gesendet: Mittwoch, 3. Juli 2019 10:00
An: TortoiseSVN <[email protected]>
Betreff: Compare with previous version shows wrong version number


steps to reproduce issue:
1. select a file and show log
2. select a version and choose compare with previous version
in the TortoiseMerge the files are showing side by side, but the previous 
version is number one less than the selected version, instead of the correct 
version number, e.g. I want to compare version 71716 with previous version, 
which according to the log is 70807, but it shows as 71715
--
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/342243af-c054-47fa-aa7d-a15dfed3d65f%40googlegroups.com<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftortoisesvn%2F342243af-c054-47fa-aa7d-a15dfed3d65f%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Chartmut.niemann%40siemens.com%7Cfe800318802b45e35f9708d6ff8c8612%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C1%7C636977376343405477&sdata=J71v21JvFzwHXxkx6C8vHwLaFVym8%2FQQ3mPUinOYC9Y%3D&reserved=0>.
For more options, visit 
https://groups.google.com/d/optout<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Chartmut.niemann%40siemens.com%7Cfe800318802b45e35f9708d6ff8c8612%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C1%7C636977376343415468&sdata=ZztI8Z0rpzjZZnsdt2Tn1Q8MNZiGgMQiV6HkA%2Bbk%2F0I%3D&reserved=0>.

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/DB6PR10MB176866B3F25995E75403FFC1FCFB0%40DB6PR10MB1768.EURPRD10.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to