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

Re: Subversion 0.7 released.

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2001-12-04 16:31:42 CET

Hey, this was also discussed (and unanimously agreed on) in some old
threads, but it's been a while, so I'll restate here just in case:

   Subversion's default behavior is to not perform any automatic
   tranformations on data. If the user requests such transformations
   (newline conversion, keyword substitution), either explicitly or
   via some pattern-matching heuristic, then and only then does
   Subversion change the data -- and does so as Greg Hudson described:
   as purely client-side transformations on working files.

The rest is implementation detail. :-)

-Karl

Zack Weinberg <zack@codesourcery.com> writes:
> On Mon, Dec 03, 2001 at 09:18:02PM -0600, cmpilato@collab.net wrote:
> > Billy Tanksley <btanksley@hifn.com> writes:
> >
> > > I'm still very nervous on newline conversion. Will it be possible to
> > > configure svn to not, by default, destroy any and every binary file checked
> > > into it?
> >
> > Subversion already include a heuristic for determining whether or not
> > a file is "binary" at import and add times. The value can, of course,
> > be overridden. Default behavior for binary files should, therefore,
> > be to NOT do newline conversion.
>
> Speaking as a user: I would like at least a mode, ideally the default
> behavior, to be that no file undergoes any sort of conversion - no
> newlines, no keywords, no nuthin' - unless explicitly marked for that
> conversion. Don't mess around with heuristics.
>
> "mode" being something set at repository creation time.
>
> (I think I'm agreeing with both of you.)
>
> > Honestly, I have the same preference. In fact, my preferences
> > regarding what I wish Subversion would do (or more specifically, not
> > do) extend beyond that, and can be basically summed up by: Subversion
> > should version file contents and user properties. That means no
> > versioning of file permissions, no newline conversion, no keyword
> > substitution.
>
> Two observations:
>
> If Subversion records a piece of data, it should be versioned; no
> exceptions.
>
> I'm fine with not recording file permissions, - they don't translate
> across systems, and they are more likely to cause user frustration than
> anything else. But there had better be a "this is an executable" bit.
>
> zw
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

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.