Yes, AFAIK, client-server cvs should handle the line-ending conversions for you,
depending on the client OS. However, if you manage to checkin files with CR/LFs from
the unix/linux side, no conversion will be done, and if these files are checked out
from a windoze client, I think they'll end up with extra CRs in them. Points to
remember:
You can share files by running samba on the unix/linux side, but samba will NOT
convert text files (all files are considered "binary"). If you work with files from a
windoze client that reside on a samba share, windoze will cache the file contents
locally, thus changes made from the unix/linux side (after the file has been opened
once in windoze) will not be visible to the windoze client, even if you re-open the
file or refresh windoze exploder (i.e., windoze will only see the cached file
contents).
You must reboot windoze (or maybe just logout from NT) before it will see the updated
contents. Here's what I'd do:
Run cvs in pserver mode on the unix host. Make sure all the source files in the
repository are in the native format (i.e., LFs only for a unix/linux host). Run cvs
on all clients (unix, linux, win, mac). Files will be converted at checkout/checkin
automatically. If anything weird happens when processing a file, check to make sure
it has the correct line-endings for whatever platform you're working on; if it's
wrong, run your conversion script or convert it with your editor.
****************************************************************
Stephen L. Arnold
with Std.Disclaimer; use Std.Disclaimer;
****************************************************************
> Karen Baldwin writes:
> >
> > We've been using CVS exclusively on Solaris/Unix
> > until now. We are now porting to NT. We intend
> > to have a single source repository on a Solaris
> > machine, which will be accessed by users on BOTH the
> > NT and Solaris nodes. We'll be using Samba as the
> > cross-platform file access mechanism.
And Larry Jones said:
> Although you could use Samba to share the repository, using
> client/server CVS is a much better solution. Do not under any
> circumstances use Samba to share working directories --
> the different line ending conventions between Unix and
> DOS/Windows will cause you no end of grief.