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

Re: How to change the comment in log

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-06-29 21:28:39 CEST

Doru Constantin wrote:

> After I do:
> svn ci .... -m "somme comment..."
> I whant to change "somme comment..." to "other comment..."
> How to change this (without python if posible)?
> Thank you in advance.
> </doru>

Read the book sections in Chapter 9 on propset and propedit. Basically,
you can do this three ways:

1. svn propset svn:log --revprop -r <REVISION> "My corrected log
message" <URL>
2. svn propset svn:log --revprop -r <REVISION> -F
<file-with-corrected-log-message.txt> <URL>
3. svn propedit svn:log --revprop -r <REVISION>

The first is if your log message is just one line; the second is if your
log message is an a text file, and the third will open up your text
editor to edit the log entry directly.

<REVISION> is the revision of your repository for which you want to edit
the comment; you can use HEAD or any of the other "special" revision
words here. <URL> is the URL of your repository; since you're editing an
unversioned repository property rather than a versioned file property
(the log message is attached to that entire revision, not to any one
file), you only need to give the base URL of your Subversion repository,
and not the full URL to the file itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 29 21:32:13 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.