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