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

cvs issues



This might sound odd, well to me at least.

For some reason, cvs is clobbering random files when I checkout or
update.  I have had the same results when co/up from a remote mirror and
from a local mirror. It is best explained with an example.

Example:

$ cvs -d anoncvs@anoncvs.usa.openbsd.org:/cvs status sys/dev/ic/iha.c 
===================================================================
File: iha.c             Status: Up-to-date

   Working revision:    1.14
   Repository revision: 1.14    /cvs/src/sys/dev/ic/iha.c,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

$ cvs -d /home/obsd/anoncvs/cvs status sys/dev/ic/iha.c          
===================================================================
File: iha.c             Status: Up-to-date

   Working revision:    1.14    Sun Jun  9 02:11:47 2002
   Repository revision: 1.14    /home/obsd/anoncvs/cvs/src/sys/dev/ic/iha.c,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

$ cvs -d /home/obsd/anoncvs/cvs diff sys/dev/ic/iha.c
(no result)
$ cvs -d anoncvs@anoncvs.usa.openbsd.org:/cvs diff sys/dev/ic/iha.c   
(no result)

(now checkout file in question to tmp directory)
$ cvs -d /home/obsd/anoncvs/cvs co -P src/sys/dev/ic/iha.c 
U src/sys/dev/ic/iha.c
$ diff /usr/src/sys/dev/ic/iha.c src/sys/dev/ic/iha.c
110,112c110
< void ihLL;
<       int argc = arginfo->ps_nargvstr;
<       int envc = arginfo->ps_ne
---
> void iha_main(struct iha_softc *, bus_space_tag_t,
bus_space_handle_t);
$ 

This file was just the latest one, and easily fixed, but it happens with
random files.

I'm running -current. Verified good copies of cvs and diff utils. I also
remounted /usr/src without softdeps, and got similar results with random
files being screwed up.

Could I be doing something terribly wrong?

I can expand if need be.

Thanks,
Okan