=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/commit.c,v retrieving revision 1.26 retrieving revision 1.27 diff -c -r1.26 -r1.27 *** src/usr.bin/cvs/commit.c 2005/04/18 21:02:49 1.26 --- src/usr.bin/cvs/commit.c 2005/04/19 00:34:39 1.27 *************** *** 1,4 **** ! /* $OpenBSD: commit.c,v 1.26 2005/04/18 21:02:49 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: commit.c,v 1.27 2005/04/19 00:34:39 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 142,148 **** CVSFILE *copy; struct cvs_flist *clp = (struct cvs_flist *)arg; ! if ((cf->cf_type == DT_REG) && (cf->cf_cvstat == CVS_FST_MODIFIED)) { copy = cvs_file_copy(cf); if (copy == NULL) return (CVS_EX_DATA); --- 142,150 ---- CVSFILE *copy; struct cvs_flist *clp = (struct cvs_flist *)arg; ! if ((cf->cf_type == DT_REG) && ((cf->cf_cvstat == CVS_FST_MODIFIED) || ! (cf->cf_cvstat == CVS_FST_ADDED))) { ! printf("copying %s\n", CVS_FILE_NAME(cf)); copy = cvs_file_copy(cf); if (copy == NULL) return (CVS_EX_DATA);