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

Re: line-ending conversion and keyword substitution

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-12-11 23:58:13 CET

Greg Hudson <ghudson@MIT.EDU> writes:

> Well, there are a lot of details I don't care about, so I haven't
> created a complete proposal. But I can try:

Greg, your proposal sounds almost *exactly* like my document.

You only talk about updates/checkouts, however. Is it the commit-side
of the document that you object to?

> 1. The bits of the file on disk, before the commit command is run
> 2. The bits which are committed to the repository
> 3. The bits of the file on disk, after the commit command is run
>
> I assert that (1) and (2) should always be the same, to avoid
> irrevocably destroying data, even though that means the repository has
> to store some gratuitous diffs a lot of the time. However, (3) should
> be different; we should do a keyword substitution on the file after we
> commit it, since certain keyword tags will become different as a result
> of the commit. (No compelling reason to do a newline substitution,
> though.)

Obviously you have a different commit system in mind. But I can't
wrap my head around it. Maybe you can walk me through an example of
what you're thinking.

---------------------------------------------------------------------
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:52 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.