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

Re: Edit commit/log messages after the commit

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-05-11 19:29:04 CEST

* Epsilon <epsilon@yahoo.com> [2004-05-11 11:22]:
> > This is not realy true, because for direct editing of
> > revision-properties, the "pre-revprop-change"-hook must be present.
> > (Reason: revision-properties are not versioned, so the old property
> is
> > lost forever if changed).
> >
> > If you have direct access to the Subversionserver, you can use the
> > svnadmin command with the setlog option: "svnadmin setlog -r <Rev.
> Nr>
> > --bypass-hooks <File with log-message>"
> > dont forget the --bypass-hook option, because otherwise you have the
> > same problem with the above solution ;)
>
> In other words, using Ben's method you'll lose the commit message
> forever but using your method you'll have a history of commit messages.
>
> Is that right?

You'll lose the history either way. Because of the possibility of
losing some history forever, Subversion forces you to define a
pre-revprop-change hook (which could save the history in some way, such
as sending an email). But you can get around this if you are okay with
losing the history, by passing --bypass-hooks to svnadmin setlog.

-- Mike

-- 
Michael W. Thelen
I never did give anybody hell.  I just told the truth and they thought it was
hell.           -- Harry S Truman

Received on Tue May 11 19:31:06 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.