[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 6820 - trunk/notes

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-08-22 05:02:15 CEST

Jani Averbach <jaa@cc.jyu.fi> writes:

> On 21 Aug 2003, Ben Collins-Sussman wrote:
>
> >
> > Remember that the repository stores keywords *contracted*. Only an
> > svn client understands how to expand a keyword.
> >
>
> Ah, but I would argue that web-client is a svn-client, if we are showing
> something with it. I expect that what I see with web-client is exactly
> what is in my working copy after checkout.
>
> If I am missing something, just slam me with ViewCVS thread.

Yes, you're missing something. There are only two ways to get what
you want, and they both result in Bad Things:

   1. Store the expanded keyword in the repository. But now you get
       "false diffs" whenever you compare two versions of the same
       file. It *always* looks like the keyword line changes, even
       when humans don't change it.

      - or -

   2. Store the contracted keyword in the repository, and make the
       repository translate the entire file (expand keywords) whenever
       it responds to an http GET request. But now you've just made
       the server do a whole lot more work, slowed it down, etc. It's
       not just reading database information anymore. One of our main
       design principles is to *distribute* work to clients whenever
       possible.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 22 05:07:06 2003

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.