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

Special Keyword for being ignored by diff during commit?

From: Detering Dirk <detering_at_iskv.de>
Date: 2005-10-18 15:01:15 CEST

Hello all,

I'm new to the list and just searched the
svn site and doc since a while for a specific
problem we try to solve.

We evaluate subversion usability for our MDSD-based
project where we generate source code
via a code generator.

The current generator is a proprietary product
where sources are everytime overwritten except
their dedicated user sections.
To document the production of the current source
we have comment lines with the generation date
and the generator version (beside the $Id$ tag).
So it is possible that during subsequent generator
runs the source code changes only in this comment

Subversion would detect this file everytime as
changed and wants a commit.

As far as we learned subversion is able to ignore
diffs in keywords correctly by un-substituting
them, but OTOH will do its own predefined substitution
when committing it (e.g. for the $Id$ tag).
Or take it as normal content at all when not
listed in the svn:keyword property.

Is there a way to create a keyword whose content
is not considered during diff (when checking for
differences which need a commit), but is taken
plainly into the repository when the file has
changed elsewhere and is committed therefore?

Hope I could describe the problem clearly

Dirk Detering


Die Information in dieser email ist vertraulich und ist ausschliesslich
fuer den/die benannten Adressaten bestimmt. Ein Zugriff auf diese
email durch andere Personen als den/die benannten Adressaten ist
nicht gestattet. Sollten Sie nicht der benannte Adressat sein, löschen
Sie bitte diese email.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 18 15:04:15 2005

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.