File changes and version control

Posts   
 
    
happyfirst
User
Posts: 215
Joined: 28-Nov-2008
# Posted on: 09-Dec-2008 19:30:51   

We use subversion. It seems everytime we regenerate, every file is updated regardless of whether or not anything changed in that file. I do see a timestamp at the top but I don't see how to turn it off.

How can I get the generator to only update files when there's a change?

Right now, everytime we regenerate, every object gets updated into the subversion repository so it's hard going back through version history and trying to determine what objects changed.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 09-Dec-2008 22:32:52   

Set the TdlEmitTimeDateInOutputFiles property to False in Project->Properties. You can also set the default value of this property for new projects in File->Preferences

Matt

happyfirst
User
Posts: 215
Joined: 28-Nov-2008
# Posted on: 10-Dec-2008 14:45:03   

Thanks! Worked great. The files are still updating but since they don't change, subversion stays happy. It still would be nice if they had an option to not update files that don't need updating. I think other version control systems would still trip over the changed file timestamps.

wbsimms
User
Posts: 5
Joined: 31-May-2007
# Posted on: 10-Dec-2008 15:47:10   

Use the command-line code generator. Then you only need to put the lgp and template files in source control.