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

Re: edit log message after commit

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 1 Sep 2010 10:22:23 -0400

Please don't reply directly to me. Use Reply to All to reply to the
mailing list.

On Wed, Sep 1, 2010 at 09:38, Petra Langebroek <Petra.Langebroek_at_awi.de> wrote:
>
> On 1 Sep 2010, at 3:27 PM, Andy Levy wrote:
>
> On Wed, Sep 1, 2010 at 06:31, Petra Langebroek <Petra.Langebroek_at_awi.de>
> wrote:
>
> Hello,
>
> I am using an relatively old version of subversion (1.3.1) and would like to
> edit a log file that I already committed to the main repository.
>
> The normal solutions of changing the properties
>
> svn propedit -r N --revprop svn:log URL
>
> or
>
> svnadmin setlog -r <Rev. Nr> --bypass-hooks <File with log-message>
>
> dont work, because this version had no "hooks" directory.
>
> Any help is greatly appreciated!
>
> Subversion has had hook scripts since before 1.3. Why does your
> repository not have a "hooks" directory at all? Did you delete it?
> What is the *actual* error message you get - please don't just say "it
> doesn't work" - there should be a useful error message returned.
>
>
> I have no clue why I don't have this hooks directory, I never deleted it.
> Maybe because I did not set up the initial project, only joined an already
> existing project, and just "checkout" the project?

Hooks are on the server, not in your working copy. They reside in the
same directory as the repository.

> If I type:
> svn propset svn:log "Added wisosw_d as input file" -r65 --revprop
> Error:
> svn: DAV request failed; it's possible that the repository's
> pre-revprop-change hook either failed or is non-existent
> svn: At least one property change failed; repository is unchanged
> If I type:
> svnadmin setlog -r 65 --bypass-hooks newlog.txt
> (Where newlog.txt is "Added wisosw_d as input file".)
> Error:
> svnadmin: Exactly one file argument required

What does svnadmin setlog take for parameters (I haven't had 1.3
around for years, so I don't recall)? svnadmin help setlog
Received on 2010-09-01 16:23:58 CEST

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.