[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: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2007-02-26 01:24:43 CET

Gray, Seth wrote:
> Thanks for the reply. But To clarify: These are auto-generated versioned
> files that I wish to ignore when looking at differences between two
> revisions. As project lead I need to see real developer revisions when
> comparing two build tags. For oversight, I currently use Compare
> Revisions (or unified diffs) between two tags straight through the repo
> browser. This gives me a quick look at actual modifications checked in
> by all developers. However, the versioned build process generated files
> (all with the same name) clog up the returned list of modified files :(
> .
>
> As far as I understand, the ignore patterns in global ignore or the
> working folder ignore wouldn't give me this ability to filter out the
> versioned files. There would seem be a pretty cumbersome workaround to
> update a working folder to revision B, then add the ignore pattern, then
> compare the working folder with revision A. Preferably, I'd like an
> option that doesn't require a working folder at all (aka by comparing
> actual repository revisions).

Your first statement is correct, and the cumbersome workaround wouldn't
work at all. Ignore patterns only work for files which are not yet
versioned. Once you have placed a file under version control there is no
way to ignore it.

The question Peter is asking is 'why do you need to keep these files
under version control?'. If a file is auto-generated, generally it
should *not* be versioned for exactly the reason you are asking this
question.

To be fair, we do version one class of auto-generated files under TSVN,
and those are the .pot files - the translation source files, which are
auto-generated from xml or rc source files. The reason we version them
is so that translators do not have to have a complete build environment
to create those files themselves.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Feb 26 01:24:39 2007

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.