[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Misbehave in "cvs admin -m"
From: |
Mark D. Baushke |
Subject: |
Re: Misbehave in "cvs admin -m" |
Date: |
Fri, 17 Oct 2003 00:54:44 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rodolfo Schulz de Lima <rodsoft@uol.com.br> writes:
> It seems that when you do 'cvs admin "-m1.1.1.1:Test msg" somefile.c' and
> the revision 1.1.1.1 doesn't exist, cvs gets the head revision and change
> its log entry. Cederqvist just says that "-mrev:msg Replace the log message
> of revision rev with msg.", so an error should be output, not just getting
> the head and doing the thing.
>
> By applying the patch attached (file admin.c) you get it right. I should
> stress that things get worse if you do 'cvs admin "-m 1.1.1.1:Test msg"' ,
> without the file name and with a space between -m and the rev. This way,
> head revisions of all files of the repository will get their log changed.
>
> PS: I'm talking of cvs-1.11.9
>
> Regards,
> Rodolfo Lima.
Patch applied.
Thanks!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/j6BD3x41pRYZE/gRAi6+AJsHcGb0+TcVGQ9fnexeMt/wpdD3rACgleUv
mMvI/MrRjVbj3mNr2MujFXU=
=Jblb
-----END PGP SIGNATURE-----