bug-cvs
[Top][All Lists]
Advanced

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

Misbehave in "cvs admin -m"


From: Rodolfo Schulz de Lima
Subject: Misbehave in "cvs admin -m"
Date: Fri, 17 Oct 2003 03:11:19 -0300

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.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 1/9/2003
 
  

Attachment: patch.txt
Description: Text document


reply via email to

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