I've heard in the past that it's unsafe to share a Subversion working copy between OS.
E.g.:
But I haven't heard definitively whether it could cause corruption of the .svn data. It is true that EOL issues could be a problem if svn:eol-style is set to native.
What's the current status of this issue? Has it changed in more recent releases of SVN? Is it safe provided certain precautions are taken (e.g. not checking out/updating files with svn:eol-style=native on both platforms)?
A Subversion working copy is your own private working area, which looks like any other ordinary directory on your system. It contains a COPY of those files which you will have been editing on the website.
You've got the answer for command-line tools, but if you're using TortoiseSVN on Windows, you can just right-click your working copy and click "Properties". There is a Subversion tab in that dialog which tells you the URL your working copy is pointing to.
svn, also known as the working copy's administrative directory. The files in each administrative directory help Subversion recognize which files contain unpublished changes, and which files are out of date with respect to others' work.
How do I uninstall TortoiseSVN? Simply uninstall from Add/Remove Programs in the Windows control panel. This does not affect your repositories or working copies at all.
I've used svn on a shared network directory between unix, linux, solaris, and windows; anecdotally the only problem I ran into is that different svn client versions are 'incompatable'. The linux and unix machines were equiped with a version of svn older then the solaris svn; which was in turn older then the windows machine client. The result is that running 'svn up' updates the metadata files to whatever client is running; and the client won't access files with a more recent metadata version. Final end result being that svn clients should be kept at the same version number.
So, yes, I've been able to move a working directory around between machines with minimal loss of life. That said, I've never used any svn options beyond what was default.
My svn repository is on Linux. I have a working copy on Linux and another one on WindowXP.
On WindowXP, I use cygwin to access my working copy. Sometimes, I use also Tortoise to have a visual diff, a compplete history of a file...
I never try to restore ( or create form a backup) from a Linux repository created with svndump to a Window computer.
[EDIT]
I forgot to mention that update works perfectly with both working copy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With