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

Re: Error when changed the log message of revision in revprops folder

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-25 01:41:48 CEST

On Apr 24, 2007, at 12:51, Deen Sethanandha wrote:

> I am such a newbie, I went in the revprops folder and change the
> log message of some revision directly.

Shouldn't have done that. :)

> Now it cause the revision props to be unreadable by the client
> program I use.
> TortoiseSVN give error when I tried to check the log of the file
> in the revision that is corrupted.

Exactly. :)

> All I did was open the revision file in TextPad then modify the
> log message section, the rest of the file was unchanged. I am not
> sure if I tricker anything when I modify the revision file directly.
>
> Please help. I know now that I should use the svnadmin command
> for it. But I really like to fix the revision that I screwed up.
> Unfortunately there isn't backup.
>
> If someone could explain how to fix this it would be greatly
> appreciated.

To fix this problem: undo the changes you did that made it not
work! :) Put the modified revprop files back the way they were
before. You could restore them from your backups, or if you don't
have any, then open them back up and retype the log message exactly
as it originally was, assuming you remember what that was.

In the future, if you want to modify the log message later, you will
want to read this FAQ:

http://subversion.tigris.org/faq.html#change-log-msg

And please don't manually modify any file of the repository database
(or in a working copy's .svn directory) anymore. :) It will just lead
to trouble. For any task you are likely to need to perform, there
will be a Subversion command of some kind to accomplish it. Read the
book ( http://svnbook.org ), read the FAQ, and ask on the list if you
need help.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 25 01:42:27 2007

This is an archived mail posted to the Subversion Users mailing list.