[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] CVS vs. SVN



David Christensen wrote:
> I've been using CVS (and RCS before it) for several years new.  I've
> also looked at switched to SVN, but seem to recall that there was an SVN
> "feature" whereby SVN applied to same version number to all files in the
> project (repository?) whenever you checked something in.  I prefer a
> more traditional scheme whereby version numbers are managed on a
> per-file basis, and only change when the file changes.  Did I
> misunderstand something?
>   
Only slightly, but it probably won't fit your preference for
versioning.  Subversion applies the same version number to all elements
that have been changed since the last version.  So if you had a file
that hasn't been changed since the initial import, it's versioned as "1"
still, while your other files could be version "20."  However if you
modify that file, it'll move up to version "21" with the rest.

> I also need CVS's ability to deal with line endings, because I move text
> files, source code, etc., between Windows/Cygwin and Linux for
> development, testing, and use.  Can SVN deal with the various line
> endings automatically like CVS?
>   
I just tested this on Linux with a TXT file that was created on
Windows.  On Linux I got a file with CRLF line terminators.



Reply to: