cvs commit: CVSROOT mentors

Peter Wemm peter at wemm.org
Fri Jul 4 05:01:34 UTC 2008


2008/7/2 Philip M. Gollucci <pgollucci at p6m7g8.com>:
> Gábor Kövesdán wrote:
>>
>> Philip M. Gollucci escribió:
>>>
>>> Alexey Dokuchaev wrote:
>>>>
>>>> I recall I was using "svn admin" or something like this for that
>>>> purpose.  I'm afraid this might not the possible with a project of our
>>>> size, so the question still stands.
>>>
>>> Typically, you can edit the log message revision property post commit in
>>> SVN.  Its a FAQ.  peter@ will have to had added the pre-revprop-change hook
>>> to allow this though.
>>
>> And will it be seen on the list like a normal commit? It is an important
>> consideration that the others notice the correction, I think.
>>
> IF the post-revprop-change hook invokes svn-mailer or whatever you use it
> will be.
>
> I can provider configs/examples for all of them if you want.

While this is the way it is normally done on a standalone repository,
it doesn't work when svnsync is involved.  svnsync doesn't know to
fetch the changed revprop that holds the log message.

If we used svnsync in "push" mode, we can tell it to copy the revprop
as part of the post-commit hook.   But the bulk of the mirrors are
random people copying it in pull mode, so that doesn't work.

Also, editing the revprop won't be propagated to the cvs tree as the
export is a one-time pass.

I'd be more inclined to figure out a way to just force a commit.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell


More information about the cvs-src mailing list