gatherworks
2 Mar 2012, 2:00 AM
We using SVN for source control and found a critical issue with Designer and interoperating with SVN (and maybe other source control systems).
I discovered this issue when I changed the project with Designer, but the XDS file did not change and there was nothing new to check into SVN. This was an immediate red flag.
Details:
When saving a designer file to a folder, much of the details are split into separate files in subfolders and stored in a folder named .metadata. Without these designer cannot recreate the project. No problem... I hope it is documented somewhere though.
Now check the .metadata folder into SVN as it is critical to the project. No problem. SVN creates a .svn hidden folder in each subfolder to track details related to source control.
The problem starts when you edit the project with designer and save it back again. Designer recreates the entire .metadata folder structure and wipes all .svn folders. The result is that the .metadata folders are not synced with SVN anymore. What is worse is that nothing is reported to the user by SVN.
I hope that this critical issue is resolved soon as the designer files are not in SVN and putting the project at risk. It also makes it impossible for multiple developers to work on the same project.
I discovered this issue when I changed the project with Designer, but the XDS file did not change and there was nothing new to check into SVN. This was an immediate red flag.
Details:
When saving a designer file to a folder, much of the details are split into separate files in subfolders and stored in a folder named .metadata. Without these designer cannot recreate the project. No problem... I hope it is documented somewhere though.
Now check the .metadata folder into SVN as it is critical to the project. No problem. SVN creates a .svn hidden folder in each subfolder to track details related to source control.
The problem starts when you edit the project with designer and save it back again. Designer recreates the entire .metadata folder structure and wipes all .svn folders. The result is that the .metadata folders are not synced with SVN anymore. What is worse is that nothing is reported to the user by SVN.
I hope that this critical issue is resolved soon as the designer files are not in SVN and putting the project at risk. It also makes it impossible for multiple developers to work on the same project.