=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/file.c,v retrieving revision 1.269 retrieving revision 1.270 diff -c -r1.269 -r1.270 *** src/usr.bin/cvs/file.c 2016/10/15 22:20:17 1.269 --- src/usr.bin/cvs/file.c 2017/05/28 17:11:34 1.270 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.269 2016/10/15 22:20:17 millert Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.270 2017/05/28 17:11:34 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau *************** *** 484,498 **** continue; } if (cvs_file_chkign(dp->d_name) && cvs_cmdop != CVS_OP_RLOG && cvs_cmdop != CVS_OP_RTAG) { cp += dp->d_reclen; continue; } - - (void)xsnprintf(fpath, PATH_MAX, "%s/%s", - cf->file_path, dp->d_name); /* * nfs and afs will show d_type as DT_UNKNOWN --- 484,500 ---- continue; } + (void)xsnprintf(fpath, PATH_MAX, "%s/%s", + cf->file_path, dp->d_name); + if (cvs_file_chkign(dp->d_name) && cvs_cmdop != CVS_OP_RLOG && cvs_cmdop != CVS_OP_RTAG) { + if (cvs_cmdop == CVS_OP_IMPORT) + cvs_import_ignored(fpath); cp += dp->d_reclen; continue; } /* * nfs and afs will show d_type as DT_UNKNOWN