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

Re: Any way to apply a filename filter to compare revisions ( or show differences as unified diff)?

From: Peter McNab <mcnab_p_at_melbpc.org.au>
Date: 2007-02-24 00:51:36 CET

Gray, Seth wrote:
> Hi Ė Iím stuck with a code base that has a particular set of
> inconsequential files that are modified with almost every build. When
> I need to review differences for the project I need to be able to
> ignore these files. The results of a comparison in repo browser
> between revisions might have 4 or 5 files Iím concerned with, while
> containing 80 or so files I donít care about. Is there any way through
> Tortoise to apply a filename ignore pattern for revision
> comparison/diff generation?
This is an oft asked question that is well covered in the help.
Just search for "ignore" and follow the steps.

--The steps I use may help with the process--

Firstly "Update" your WC from the root folder so you can commit any
upcoming deletes and ignores.
Then SVN delete all (but only) the auto-generated files from your WC and
Commit the deletions.
Re-compile or build or whatever the process is that creates the
inconsequential files.
At the WC root folder right click SVN Check for Modifications.
At the bottom left of the Check for Modifications dialog tick just the
"Show unversioned files" checkbox.

Then starting at the top, one by one, left click on the file you want to
Right Click on "Add to ignore list"
Choose whether this is to be by file-name or global by file type.
For global selections you will notice any other files of that type
present in the Check for Modifications dialog also disappear, showing
success at adding the ignore property.
Repeat for each other file type you don't wish to see.
Commit the changes.


To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Feb 24 00:51:49 2007

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