Source Control shows empty script
rhsu
Posts: 10
We have a package body which was checked-in via Source Control without problem. When the developer removed a couple lines (an insert statement) and tried to check in, the Source Control showed empty in both source (database) and target (svn) panel thus the changes cannot be reviewed. Scripts of all other changed items are still visible and can be checked-in as usual. So, instead of deleting the lines, we decided to comment out the insert statement and now the source control can show the scripts.
Does anyone have similar problem? Or is it a bug in Source Control? Please help....
Thanks
Roger
Does anyone have similar problem? Or is it a bug in Source Control? Please help....
Thanks
Roger
Comments
Thank you for your forum post.
Are you attempting to edit the scripts directly in SVN / TFS directly by-passing Source Control for Oracle? I ask this question, as Source Control for Oracle as problems parsing scripts created, edited and modified outside of our product.
A support ticket has been created for this forum post HERE. If you are not editing scripts outside of Source Control for Oracle, can you please update the support ticket with details of the steps taken, any screen shots that you think will help understand your problem and a copy of the latest Source Control for Oracle log file?
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com
I tried following steps your colleague took, sadly I am unable to replicate the reported problem. I created a package in by schema using SQL developer, successfully checked-in to SVN, modified the package using SQL Developer by removing some lines in the package body. Refreshed the Source Control for Oracle which identified I had a change to said package to apply. Selecting the package and reviewing the DDL, it was all there on both sides of the SQL Differences view. Checked in the change successfully. Edited the package once more by adding back the roes I previously removed.
I ran your fault symptoms passed a colleague in the Development Team, he thought it maybe a permissions error.
What version of Source Control for Oracle are you using?
What version / edition of Oracle are you using?
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com