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

RE: Q: How to ignore minor changes in text files?

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 23 Dec 2009 10:41:06 -0500

> > Is there a way to tailor the change check algorithm with, say, a
> regex, to
> > ignore certain contents of a text file e.g. comment lines?
> >
> > I have scanned the FAQs and googled to no avail.
> >
>
> Use svn:keywords, and let svn to generate the timestamp for you.
>
> $Id $ keyword (UTC time, not localized) or $Date $ keyword (local
> time, and localized month/day of week names, unless you truncate
> it)
>
> If you commit immediately after generation, the timestamp generated
> by
> svn will be not so different from the one generated by your tool,
> and
> only modified files will be committed.

Well wait... I think that is his problem. Every file is changed by his generator even if the change is ONLY in the header.

It would be nice if his tool had some type of incremental mode so it would only actually re-gen files that had actual code changes.

BOb
Received on 2009-12-23 16:41:39 CET

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

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