[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cross-OS SVN working copy compatibility issues

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Fri, 7 Aug 2009 13:24:39 -0500

On Aug 7, 2009, at 12:56, andy flem wrote:

> Using a network share, multiple different users, work on a single
> checked out location. Some of the users, have Macs, others have PCs.
> (We do web development, and setting up individual environments is too
> difficult/expensive, and not an option). So my question is - is it
> possible for multiple users, using different clients on different OSs,
> all work within the same working directory? (All client side SVN
> clients are using the same version of SVN) Is there compatibility
> issues between clients that I need to worry about? I've seen
> documentation claiming that using multiple clients on the same OS
> works fine, but I'm curious specifically on Cross-OS support. In
> other words, are the ".svn" folders/files created by the svn client
> compatible across different OS's?
>
> NOTE: I'm fully aware of the downsides of such an approach, and have
> chosen this implementation for a reason.

Yes, they are compatible. The issues you will run into, other than
the enormous obvious ones that hopefully you know about, are that
setting the "svn:eol-style" property of any file to "native" will
mean "native on the computer that checked out or updated". So this
won't be reliable, and you shouldn't use "native"; instead use a
value that you know all your editors will understand. In our web
development shop we set it to "LF" and made sure all our Windows text
editors were set up to handle this properly. Or you might choose
"CRLF" if you prefer.

Also, any symlinks you have in your repository will also only work if
the OS is not Windows, so it would be best to avoid symlinks entirely.

I can't stop you from sharing a working copy, but I can tell you that
in the web development shop where I worked, each developer got his
own area, in the public_html directory of his home folder on the
Linux development server, where he could check out his own working
copies of his projects and and edit them via an SMB share and test
them via http://devserver/~username/project, and this worked great.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2381415

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-07 20:25:37 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.