Hello!
I am using CVS 1.10.8 on Linux.
When I do commit, sometimes garbadge in put in the
"Tag" field in the file.
I think this is a symptom of a more serious bug.
This only happends when LockDir and PreservePermissions
are enabled.



Try the following:

/tmp>mkdir /tmp/cvsroot
/tmp>cd cvsroot/
/tmp/cvsroot>cvs -d $cwd init
/tmp/cvsroot>cd ..
/tmp>mkdir /tmp/work
/tmp>cd work
/tmp/work>cvs -d /tmp/cvsroot co .
cvs checkout: Updating .
cvs checkout: Updating CVSROOT
U CVSROOT/checkoutlist
U CVSROOT/commitinfo
U CVSROOT/config
U CVSROOT/cvswrappers
U CVSROOT/editinfo
U CVSROOT/loginfo
U CVSROOT/modules
U CVSROOT/notify
U CVSROOT/rcsinfo
U CVSROOT/taginfo
U CVSROOT/verifymsg
/tmp/work>cd CVSROOT
/tmp/work/CVSROOT>vi config
---
#Edit the file config
#Put in:
PreservePermissions=yes
LockDir=/tmp/cvsroot/lockdir
---
/tmp/work/CVSROOT>mkdir /tmp/cvsroot/lockdir
/tmp/work/CVSROOT>vi cvswrappers 
---
#Edit the file cvswrappers
#Uncomment the last line:
*.gif -k 'b'
---
/tmp/work/CVSROOT>cvs commit
---
Enter some comment in the editor, e.g. "Comment"
---
cvs commit: Examining .
Checking in config;
/tmp/cvsroot/CVSROOT/config,v  <--  config
new revision: 1.2; previous revision: 1.1
done
Checking in cvswrappers;
/tmp/cvsroot/CVSROOT/cvswrappers,v  <--  cvswrappers
new revision: 1.2; previous revision: 1.1
done
cvs commit: Rebuilding administrative file database
/tmp/work/CVSROOT>vi cvswrappers
---
#Edit again cvswrappers
#Add a new line at the end:
*.jpg -k 'b'
---
/tmp/work/CVSROOT>cvs commit
cvs commit: Examining .
cvs commit: cvswrappers: hard linkage of 1.2 and working file do not match




Now what happends is that I have a lot of
trash in the Tag line that is open for editing:

CVS:  Tag: xÏ^M^H@0^S@hÄ^M^HhÄ^M^H^P~Q^M^HÐ~Q^M^H^Hq^M^H^Hq^M^H


I get this behaviour every time.

1. Is this the correct forum to report this?
2. What does message "hard linkage does not match" mean?

Thanks,
    MST


-- 
This message content is not part of Intel's views or affairs
Michael S. Tsirkin
    >   Four things are to be strengthened: Torah,and good deeds,
    >   prayer and one's good manners (Berachoth)

Reply via email to