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

Re: [TSVN] File diff - working copy against specific revision

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-06 19:00:27 CEST

Simon Large wrote:
> Julian Ransom wrote:
>
>> Thanks, I'd obviously misinterpreted the manual.
>
>
> So has Stefan ;-)
>
> It really is as easy as the manual says, but you need the context menu
> on the top pane, not the bottom pane.
>
>> Unfortunately, that method makes me use TortoiseMerge rather than my
>> preferred merge tool (WinMerge).
>
>
>> FWIW, it would be really handy to have "Compare with working copy" on the
>> context menu for a specific file (rather than the whole revision) in
>> the Log
>> window.
>
>
> Stefan, any reason this menu item shouldn't appear on the bottom pane
> menu too?

Yes. The reason is that paths shown in the bottom pane don't have a
working copy path associated with them (at least, they *don't have to*
have one).

Also, just try to create a function which finds out the wc path of an
item selected in the bottom pane in pseudocode - you will know
immediately why I don't implement it ;)

A hint if you want to try it in pseudocode:

Use this example:
file selected to show the log: d:\test\wc\folder\file1
that file has the URL in the repository : .../svn/project/trunk/folder/file1
the item selected in the bottom pane has the relative URL :
/trunk/myfolder/file3

good luck ;)

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 6 19:00:47 2005

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

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