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

Generated file

From: Kirill Shpitsa <KirillShpitsa_at_unitech.com.ua>
Date: 2004-12-31 11:40:33 CET

Hi!

Hope that someone can help with an explanation.

Actually, this question is not Subversion specific, but I believe it also
can be applied to Subversion as well:

Our project contains lots of generated files (think of yacc sources
compiled into .c). We store those in the version control together with
their sources (i.e. both .y and .c). Whoever changes the .y file is
resposible for generating .c file and commiting it together with the .y
file. Of course, any conflicting changes are resolved on the .y level,
however, the version control system insists on resolving conflicts with
generated files. Is there any way to force commit without updating the
files first (the generated files are quite big and there are a lot of
them, and it is waste of time and traffic to update them just to
unconditionally overwrite them anyway). The generated files definately
need to be stored in the version control system, since: a) they are slow
to generate (yacc is just an example, in fact it is something different);
b) not every developer works with .y files and has the knowledge, time, or
tools to generate them.

Thank you for your attention,

--
Kirill E. Shpitsa
Software Engineer
E-mail: Kirill.Shpitsa@kiev.cms.com.ua
+38 (050) 581 09 86 [Mobile]
+38 (044) 494 26 41 [Office]
FLEXTRONICS Design Ukraine
MSN: kshpitsa@ukrpost.net
Skype: kshpitsa
Received on Sun Jan 2 20:59:27 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.