info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing log file after commit


From: Larry Jones
Subject: Re: Editing log file after commit
Date: Mon, 4 Dec 2006 22:23:16 -0500 (EST)

Regina Gastler writes:
> 
> I found that mentioned editing a log file, and that was to use the admin
> command [admin -m rev# : <message> <file name>] but I don't know what file
> name to use.

That is the only way to change a log message.  The file name is the one
whose's log message you want to change:

        $ cvs ci -m'bad message' myfile
        Checking in myfile;
        /tmp/cvstest/CVSROOT/myfile,v  <-- myfile
        new revision: 1.2; previous revision: 1.1
        done
        $ cvs admin -m 1.2:'this is the right message' myfile

If you need to change the message in multiple files, you will probably
have to use multiple admin commands because the revision numbers will
almost certainly be different in the different files (and even if
they're not, CVS won't allow multiple files with a numeric revision
since that is almost always a mistake).

-Larry Jones

Let's pretend I already feel terrible about it, and that you
don't need to rub it in any more. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]