[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: diff with previous rev. in current branch

From: Jan Šilar <jansilar_at_jansilar.cz>
Date: Mon, 9 Mar 2015 02:27:12 -0700 (PDT)

Thank you for answers.

Anyway I don't understand this. I think you mean different situation than I:

>> "Diff with previous version" comapres a file with previous revision. This is the only diff command I see in my context menu. This makes no sense when working in branches and the previous revision is in different branch. I suggest there is "diff with previous rev. in current branch" command instead.

>It does make sense. If the current revision of that file is rev 1234, and the previous *change* of that file (according to the log of that individual file) was in rev 1200, then the file still exists and still has the same contents for rev 1200-1233.

I'm talking about this situation:

   r1
  / \
r2 |
 | r3
r4 |

This is history of one file in two branches. If I do "Diff with previous version" in r4 then it is compared to r3 which is in another branch. These revisions vary with changes introduced in r4, r2 and r3. This is'n usually what I'm interested in. I just need to compare r4 and r3.

BTW I used git instead of svn for last years so may be me conception of how branches in svn work is wrong.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3103983

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-03-09 10:27:20 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.