Red Hat Bugzilla – Bug 31768
cvs admin -n aborts if tag not found
Last modified: 2007-04-18 12:32:10 EDT
Tested for cvs-1.11-3 on Fisher (not sure if I reported against the right
If you do:
cvs admin -n<new tag>:<old tag>
from the top of a workspace, it will abort with the following error if
<old tag> is not found in a file:
RCS file: /ash/cvsroot/tgx/3rdparty/belcarra/exim/tgx.postinstall.sh,v
cvs [server aborted]: tag `exim' does not exist
It should, instead, make no modifications to that file and continue on
with the rest of the files.
I will attach a script that reproduces the problem.
Created attachment 12644 [details]
Script to reproduce the bug.
Created attachment 12645 [details]
This patch should fix the bug
The above patch was created and tested for cvs 1.10.8 on Solaris. It should
work for this version as well.