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

Re: About pre-revprop-change

From: eg <egoots_at_gmail.com>
Date: Mon, 08 Sep 2008 09:34:30 -0700

watanabe_at_belldata.co.jp wrote:
>

> Please accept my dull question.
> In case, I want to change revision "1" and the place of the repository
> folder "REPO" is in C:\SVMTMP,
> I set "svn propset -r 1 --revprop svn:log "First import" C:\SVMTMP\REPO".
> Could you teach me where I execute this command from, ( DOS command
> prompt ?)
>

You need the pre-revprop-change hook set up for the above to work.

An alternative would be to use svnadmin from the server side as follows:

svnadmin setlog REPOS_PATH -r N FILE --bypass-hooks

where REPOS_PATH is the repository location, N is the revision number
whose log message you wish to change, and FILE is a file containing the
new log message.
If you have a pre-revprop-change hook installed, you dont need to
provide the --bypass-hooks switch.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-08 18:35:14 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.