[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: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-09-06 21:28:36 CEST

Stefan Küng wrote:
> Simon Large wrote:
>
>>>> Oops. I see what you mean.
>>>>
>>>> What about just the ones that show up as 'related changed paths', ie
>>>> in black on the bottom pane?
>>>
>>>
>>> The example above *is* a 'related changed path'. I thought I would
>>> bring up relative URL's like
>>> /svn/project/branches/release1/folder/file2 once you would come up
>>> with some pseudocode ;)
>>
>>
>> I thought the 'Hide unrelated changed paths' checkbox is used to show
>> only files in the *same* folder or folders below it.
>
>
> It is. But check again the example I gave you first: that path *is*
> related.

You wrote:
> 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
           ^^^^^^^^

In that case you meant /folder/ ?

if (TargetIsFolder)
{
   FolderURL = TargetURL;
}
else
{
   FolderURL = ExtractParentFolder(TargetURL);
}

if (strncmp(ThisURL, FolderURL, strlen(FolderURL)) == 0)
{
   // This URL is in the same folder, or in a subfolder
}

Simon

-- 
        ___
   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 21:28:29 2005

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