Follow-up Comment #1, bug #21774 (project cvs):
Here is a minimal test case to reproduce the bug. Make an empty directory
and cd to it. Unpack the following shar archive (you can use unshar or sh):
if test ! -d 'opencvs_test'; then
mkdir 'opencvs_test'
mkdir 'opencvs_test/fix'
fi
mkdir 'opencvs_test/fix/CVS'
sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/CVS/Entries'
/productionFixTrades.py/0/Initial productionFixTrades.py//
SHAR_EOF
sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/CVS/Root'
/home/eda/opencvs_test/cvsroot
SHAR_EOF
sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/CVS/Repository' &&
cgi/fix
SHAR_EOF
sed 's/^X//' << 'SHAR_EOF' > 'opencvs_test/fix/productionFixTrades.py' &&
SHAR_EOF
mkdir 'opencvs_test/cvsroot'
mkdir 'opencvs_test/cvsroot/CVSROOT'
mkdir 'opencvs_test/cvsroot/cgi'
mkdir 'opencvs_test/cvsroot/cgi/fix'
sed 's/^X//' << 'SHAR_EOF' >
'opencvs_test/cvsroot/cgi/fix/productionFixTrades.py,v' &&
head ;
access ;
desc
@@
SHAR_EOF
chmod 0767 'opencvs_test/cvsroot/cgi/fix/productionFixTrades.py,v'
Now cd to opencvs_test/fix. Edit the file CVS/Root to point to your
temporary directory instead of my home directory home/eda. Now run
% cvs commit -m.
For me, this crashes CVS with the assertion failure.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21774>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs