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:
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
--
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
tortoisesvn...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tortoisesvn/342243af-c054-47fa-aa7d-a15dfed3d65f%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.
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:
- compare it with y-1
- 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_tL5TRRrqdrT1TWLvtx54EE3gvMSSl@googlegroups.com>
Gesendet: Mittwoch, 3. Juli 2019 10:00
An: TortoiseSVN <torto...@googlegroups.com>
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 torto...@googlegroups.com.
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:hartmut...@siemens.com
www.siemens.com/ingenuityforlife

Von: Martin Nielsen via TortoiseSVN <tortoisesvn+APn2wQfNCSisWFfpOeLb...@googlegroups.com>
Gesendet: Mittwoch, 3. Juli 2019 15:23
An: TortoiseSVN <torto...@googlegroups.com>
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+APn2wQfNCSisWFfpOeLb...@googlegroups.com>
Gesendet: Mittwoch, 3. Juli 2019 10:00
An: TortoiseSVN <torto...@googlegroups.com>
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 torto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/342243af-c054-47fa-aa7d-a15dfed3d65f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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
tortoisesvn...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tortoisesvn/c7955668-cdde-4921-9721-786cb55dc9fc%40googlegroups.com.