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

Re: the cvs equivalent of $Log$

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-11-06 06:03:15 CET

On 11/2/07, Kevin Tomasek <ktomasek@d2audio.com> wrote:
>
>
>
>
> as a newer user to subversion the biggest issue has been the inability to
> put the comment given at checkin time to the contents of the file which is
> being checked in.
>
> svn has the $author, $rev, $date, … but no $log, $comment or equivalent.
> as svn already has the plumbing to do this, as verified by these other
> keyword substitutions, why is there not one for the comment?
>
> the users have complained most about this. they now have enter the comment
> twice. placing first in the file they have modified and the second as the
> comment to the checkin.
>
> I have searched, and searched and yet to have stumbled upon the method of
> accomplishing this. I think I have found a few pay for solutions but we are
> too small to justify those expenses.
>
> is there really no way to do this?
> or is it such a dead horse no one bothers to discuss it any more?
> or have my search parameters not been finding the information ?
>
> thanks..
>
> Kevin
>

Take this as a good opportunity to move away from doing that. The
reasons for Subversion not doing this are very good. For instance,
what happens if you change the log message? Now you have to keep it
up to date in both places. There is 'svn log' which gets you your log
messages so you don't have to version them along with the files.
Also, they may or may not make sense across a dump and load. At work
we have been systematically deleting those comments whenever we touch
a file (now that we have moved to subversion and away from rcs). Even
in RCS they were less than useful.

Troy

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 6 06:03:33 2007

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.