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

Re: Diff of only certain file types? Versus WC?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 28 Nov 2016 20:52:33 +0100

On 28.11.2016 20:47, David Balažic wrote:
> Stefan Küng wrote:
>
>> On 28.11.2016 19:07, David Balažic wrote:
>>> Hi!
>>>
>>> Is there a way to get a diff of all files in a folder (and
>>> subfolders), but limited to a certain filetype(name)?
>>>
>>> Like for only *.txt files.
>>>
>>> Preferably a comparison between (unchanged) WC and a past revision
>>> chosen by user.
>>
>> Show the log for the WC folder where your txt files are in.
>> Then in the filter box, enter ".txt".
>> Select the top revision and all revisions up to the past revision you want to see the diff. Then select all the files in the bottom pane, then
>> right-click and choose "Show multiple changes..."
>
> Upon closer look:
> - the filter removes the revisions that have no changed *.txt files, but leaves revisions that have changes in *.txt and other files.
> And those files are shown in the file list and if I select all, I will also select the non-txt files. I also do not see a way to sort them
> by filename suffix which would help a bit

Check the box "show only affected paths"

> - the diff is not against WC, but the latest version. This means I cannot easily edit in the TM window or use the "Use left block"
> Function (because it has open a file from the TMP and not from the WC)

Yes, but you mentioned that your WC was unmodified.
Doing diffs against a WC requires using patch files and then applying
those in reverse. Which doesn't work very well for lots of files...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3195404
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-11-28 20:52:39 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.