Hello,
Have an issue and interested if anyone here has a solution that will work with NuSphere.
In certain cases saving a change to a file "clobbers" changes made by others. Let me explain how this happens:
We use SVN for version control. Each developer has their own development instance on a shared server that pulls its source from the SVN repository.
Each developer uses NuSphere locally on their windows machine and edits using the remote SFTP Account method (expanding explorer tree, files are fetched on request and saved directly back to the server when saved). SVN updates and commits are done from the command line within the developer's dev instance.
The problem occurs when:
1) developer_1 opens a file, let's call it myFile.php
2) developer_2 checks in a change to myFile.php
3) developer_1 SVN updates their dev instance while keeping myFile.php open in NuSphere.
a) myFile.php in developer_1's dev instance now has developer_2's changes
b) myFile.php open in developer_1's NuSphere instance is still the pre-developer_2 change version
4) developer_1 saves changes to myFile.php via NuSphere
a) developer_1 has now overwritten the most-up-to-date version of myFile.php in their dev instance
5) developer_1 commits changes to myFile.php
a) developer_2's changes have now been "clobbered"
b) all future SVN updates will not have developer_2's changes
Some additional notes / ideas:
1) if NuSphere checked for difference / timestamp diffs when attempting to save it seems this would resolve the issue; but it does not in SFTP mode
2) using the NuSphere CVS/SVN client would resolve this but
a) how would you handle efficiently sync'ing w/the developers dev instance on the server (e.g., no jump-through-hoops to view a change)?
b) this introduces another layer of complexity, requiring each developer to have their own branch so changes are not automatically committed
3) use an NFS mount (SAMBA) so NuSphere treats the files as local files, supporting the "check if the file has been changed" capability
4) set a company policy that you do not SVN update with files open in your IDE
a) this is our current policy, not working
thanks,
Ryan