Hi Martin, As far as I know, that is true - minus some SVN speak differences.
You update to revision 400, and the file had been changed at 390, you run "svn info" on the file, you get "Revision : 400" "Last changed revision: 390" So the file with revision 400 exists and has the metadata "last changed revision 390", if no changes have been made between 390 and 400. Mit freundlichen Grüßen Dr. Hartmut Niemann Siemens Mobility GmbH MO RS LM EN CCI1 SRD Werner-von-Siemens-Str. 67 91052 Erlangen, Deutschland Tel.: +49 9131 17-50518 Mobil: +49 173 5342327 mailto:[email protected] www.siemens.com/ingenuityforlife<https://siemens.com/ingenuityforlife> [www.siemens.com/ingenuityforlife] Von: Martin Nielsen via TortoiseSVN <tortoisesvn+apn2wqfncsiswffpoelblj_tl5trrrqdrt1twlvtx54ee3gvm...@googlegroups.com> Gesendet: Mittwoch, 3. Juli 2019 15:23 An: TortoiseSVN <[email protected]> Betreff: Re: Compare with previous version shows wrong version number Hi Hartmut Thank you for the quick reply a followup question: if you choose update to revision, does this mean that you can write any revision number and the result will then be the closest earlier revision? i.e. in my example, if I ask for version 71715 it will update to version 70807? Best regards Martin onsdag den 3. juli 2019 kl. 10.50.59 UTC+2 skrev H. Niemann: 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: a. compare it with y-1 b. 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<javascript:>> Gesendet: Mittwoch, 3. Juli 2019 10:00 An: TortoiseSVN <[email protected]<javascript:>> 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]<javascript:>. 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%7C9f616772da0d42de5eb708d6ffb9c580%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C636977570676975810&sdata=%2FF1R3a6iDneK51thrdVxZGiIDuXbR0B5YhPDzSShaZo%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%7C9f616772da0d42de5eb708d6ffb9c580%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C636977570676985803&sdata=NKs9%2FDFhExpM4OtsTMxCMxOBDxzxQowvj0Uz%2BRZ%2B%2FWI%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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/c7955668-cdde-4921-9721-786cb55dc9fc%40googlegroups.com<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftortoisesvn%2Fc7955668-cdde-4921-9721-786cb55dc9fc%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Chartmut.niemann%40siemens.com%7C9f616772da0d42de5eb708d6ffb9c580%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C636977570676985803&sdata=zeekGBvlgDiFyq3VpUpOdCI%2BJz0LTCA%2FACiflhh0oHY%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%7C9f616772da0d42de5eb708d6ffb9c580%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C636977570676985803&sdata=NKs9%2FDFhExpM4OtsTMxCMxOBDxzxQowvj0Uz%2BRZ%2B%2FWI%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/DB6PR10MB1768A2256D5EF85021F6CAFEFCFB0%40DB6PR10MB1768.EURPRD10.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.
