Subject: src/usr.bin/ktrace and cvs update
To: None <tech-toolchain@netbsd.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: tech-toolchain
Date: 05/05/2003 13:17:47
After a non-objdir build, if I try to do "cvs update -dP"
in src/usr.bin/ktrace, cvs will die because there is an
empty (i.e. Attic only) directory in the repository with
the same name as the target binary file in the local directory.

Its a minor annoyance, but it would be nice if it didn't
lose this way.

Darrin

$ ls -al
total 61
drwxrwxr-x    4 dbj  wheel   1024 May  5 17:03 .
drwxrwxr-x  229 dbj  wheel   4096 May  5 17:03 ..
-rw-rw-r--    1 dbj  wheel   7708 May  5 04:54 .depend
-rw-rw-r--    1 dbj  wheel     60 May  4 21:21 .gdbinit
drwxrwxr-x    2 dbj  wheel   1024 May  5 17:09 CVS
-rw-r--r--    1 dbj  wheel    294 Aug 27  2002 Makefile
drwxrwxr-x    3 dbj  wheel   1024 May  5 17:03 kdump
-rwxrwxr-x    1 dbj  wheel  11238 May  4 21:21 ktrace
-rw-r--r--    1 dbj  wheel   6983 May  5 17:03 ktrace.1
-rw-r--r--    1 dbj  wheel   8080 Dec  9 21:29 ktrace.c
-rw-rw-r--    1 dbj  wheel   4865 May  4 21:21 ktrace.cat1
-rw-r--r--    1 dbj  wheel   2298 Dec  9 21:29 ktrace.h
-rw-rw-r--    1 dbj  wheel   4680 May  4 21:21 ktrace.o
-rw-r--r--    1 dbj  wheel   2839 Dec  9 21:29 subr.c
-rw-rw-r--    1 dbj  wheel   1840 May  4 21:21 subr.o

$ cvs -q update -dP
? .depend
? .gdbinit
? ktrace
? ktrace.cat1
cvs [update aborted]: could not chdir to ktrace: Not a directory
Write failed flushing stdout buffer.
write stdout: Broken pipe