Red Gate forums :: View topic - Can I ignore RedGateDatabaseInfo.xml in source control?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Can I ignore RedGateDatabaseInfo.xml in source control?

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Christian Specht



Joined: 15 Mar 2013
Posts: 1

PostPosted: Fri Mar 15, 2013 10:07 am    Post subject: Can I ignore RedGateDatabaseInfo.xml in source control? Reply with quote

I don't need this file and I don't mind it being there, but it clutters up our source control history.
Nearly every time we change something in the database, there are changes like this in RedGateDatabaseInfo.xml:

From:
<None />

to:
<None>
</None>


Or from:
<DatabaseInformation>

to:
<DatabaseInformation Version="2">


So: do we even need to commit this file at all? I would prefer to delete it from the repository and ignore it in the future.

Thank you!
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Mon Mar 18, 2013 4:51 pm    Post subject: Reply with quote

I don't think it would be a good idea to try to remove this file. In addition to storing any information about static table data you've linked, it states the format of the subdirectories where scripts for types of SQL objects are kept, database collations, versioning, and other things that would affect how the comparisons between live databases and source controlled scripts are done.

At any rate I believe if you tried to delete it, SQL Source Control would re-create it on the next get latest/commit changes. It's part of the metadata needed so SQL Source Control and SQL Compare can function correctly.

I don't think there will be many more changes in the information in this file, so hopefully you won't notice it very much in the future.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group