Comments
2 comments
-
I think I have found the issue. The .migrationScript file for the "uncommitted" scripts is missing a <Description> tag.
-
I also just had the same problem and found this thread. The issue is in fact that I upgraded my local SSC to 3.8 and we have some scripts with no comments. Steps to reproduce:
1) Upgrade to SSC 3.8
2) Go to Commit Changes tab on a database that has some migration scripts with no comments.
3) SSC prompts you to commit but shows no changes in the compare window.
4) Try to commit.
5) Error - Nothing To Commit.
Here's how to easily resolve. I was unable to add a comment in the SSC UI using Edit Scripts on old scripts, so:
1) In your local svn working folder, find the .migrationScript files in question (your main checkout folder, not the working base folders that SSC makes in your user profile).
2) In a text editor amend the files as follows. Replace:</ObjectIdentifiers> </MigrationScript>
with</ObjectIdentifiers> <Description>Dummy retroactive comment to handle SSC 3.8 bug.</Description> </MigrationScript>
3) Commit using TortoiseSVN if you use that, or just the svn client.
4) Go back to SSMS / SSC and refresh the Commit Changes tab.
5) You shouldn't see any changes. Voila!
6) Yell at developers for committing scripts with no comments!
Add comment
Please sign in to leave a comment.
Thanks
Steven Evans