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

Re: CVS $Log$ equivalent in Subversion?

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-03-10 01:24:14 CET

----- Original Message -----
From: "Bob Bradley" <bob@chaoticsoftware.com>
To: "C.A.T.Magic" <c.a.t.magic@gmx.at>; "C. Michael Pilato"
<cmpilato@collab.net>
Cc: <users@subversion.tigris.org>
Sent: Wednesday, March 10, 2004 00:58
Subject: Re: CVS $Log$ equivalent in Subversion?

> On 3/9/04 3:19 PM, "C.A.T.Magic" <c.a.t.magic@gmx.at> wrote:
>
> > Also note that if svn would support $log$ it should also prevent/warn
users
> > from
> > making modifications to older log messages. Somewhere I've read that
> > users tend to try to correct typos inside of old $log$ entries etc.
>
> Allowing changes to made to the log text in the file is actually an
> important feature. Not necessarily for correcting typos/etc, but because
it
> is often used to remove old or obsolete logs from the file. For example,
if
> a file has a major overhaul, it is sometimes useful to trim out the
> irrelevant log entries and leave only the new ones. Or in the case of
> confidential information being in the log text that is exported for public
> viewing. Our open source projects sometimes have to remove this kind of
text
> from the file so it is safe to release to the public while still giving
> developers a reasonable change history in the file.

changing log entries in just one file will introduce inconsistencies.
afaik, one log entry usually represents the log entry of each 'changeset'
applied to a file. And (at least in cvs) is gets copied to all
modified files. if users modify the $log$ entry of a single file,
svn would/will have to re-scan the $log$ entries for
intended modifications and then replace the changeset logs,
then the next update must redestribute the modified $log$
to all other files that contain the same 'changeset'.
I wouldn't recommend editing the content of $log$ inside a
WC file at all.
If there is need to edit log messages, svn already provides nice features.
If there is need to "trim" old log messages, maybe
something like $Log(startrev=20,endrev=head)...$ could be
added when the $log$ feature is added to svn?
How would differently edited $log$ files react when
merging different revisions? (i can image baad things;-)
But probably you would even need more specific separations,
like some $internallog$ and a $publiclog$ ?
Editing inside of $log$ also has the sideeffect that someone
can maliciously/accidentally modify another persons log entries
which should probably require additional security/permission flags.

:-)
c.a.t.

P.S:

i didn't bother to look but CVS mailing lists
probably contain a lot of reasons why not to use/edit it :-)

p.P.S.:
> 'safe to release to the public'?
I wonder what kind of secrets
you write in those logs? ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 10 01:24:45 2004

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

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