=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/repository.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/cvs/repository.c 2007/06/01 17:47:47 1.13 +++ src/usr.bin/cvs/repository.c 2007/07/03 13:22:43 1.14 @@ -1,4 +1,4 @@ -/* $OpenBSD: repository.c,v 1.13 2007/06/01 17:47:47 niallo Exp $ */ +/* $OpenBSD: repository.c,v 1.14 2007/07/03 13:22:43 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -147,7 +147,10 @@ switch (type) { case CVS_DIR: - cvs_file_get(fpath, dl); + if (!strcmp(dp->d_name, CVS_PATH_ATTIC)) + cvs_repository_getdir(rpath, wdir, fl, dl, 0); + else + cvs_file_get(fpath, dl); break; case CVS_FILE: if ((s = strrchr(fpath, ',')) != NULL)