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

Re: svn commit: rev 2459 - trunk/www

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-07-10 20:44:56 CEST

Ben Collins-Sussman wrote:
>
> blair@tigris.org writes:
>
> > Author: blair
> > Date: Wed, 10 Jul 2002 13:14:32 -0500
> > New Revision: 2459
> >
> > Modified:
> > trunk/www/cvs-changelog.html
> > trunk/www/project_faq.html
> > Log:
> > * www/cvs-changelog.html:
> > Run dos2unix on this file to convert from DOS style to Unix style
> > end of lines. Running svn diff -x -b shows no changes.
> >
> > * www/project_faq.html:
> > Ditto.
> >
>
> Maybe it just would have been easier to set "svn:eol-style : native"
> on these files?

Hmm, didn't think about that. So setting this to native would leave
the file's contents in the repos alone and converted the eol from
DOS to Unix style when I get the file from the repos?

Seems cleaner to have all the files in the repos have the end of
lines you want instead of putting a property on the file.

A recursive grep through svn doesn't show any documentation on
this, except for ./subversion/libsvn_wc/translate.h which shows

/* Valid states for 'svn:eol-style' property.
   Property nonexistence is equivalent to 'none'. */
enum svn_wc__eol_style
{
  svn_wc__eol_style_unknown, /* An unrecognized style */
  svn_wc__eol_style_none, /* EOL translation is "off" or ignored value */
  svn_wc__eol_style_native, /* Translation is set to client's native style */
  svn_wc__eol_style_fixed /* Translation is set to one of LF, CR, CRLF */
}

Should put this info someplace.

Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 20:45:58 2002

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

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