[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: CVS won't ignore removed files (remote will, local will not)
From: |
msinotte |
Subject: |
RE: CVS won't ignore removed files (remote will, local will not) |
Date: |
Wed, 27 Nov 2002 11:21:57 -0800 |
Adding 'toremove' to .cvsignore does not remove the pesky message about
using cvs add.
/usr/home/msinotte/work/rel_11/test (address@hidden) 921 : cat
.cvsignore
toremove
/usr/home/msinotte/work/rel_11/test (address@hidden) 922 : cvs update
cvs update: Updating .
cvs update: use `cvs add' to create an entry for toremove
? .cvsignore
cvs update: Updating dir1
cvs update: Updating dir2
cvs update: Updating dir3
cvs update: Updating dir4
/usr/home/msinotte/work/rel_11/test (address@hidden) 923 : >
This only seems to be a problem if the file in question have versions on
a branch. If the file only has versions on main, all is well.
--- supporting evidence ---
IF FILE IS ONLY INTRODUCED ON MAIN AND THEN REMOVED, .cvsignore WORKS:
/usr/home/msinotte/work/rel_10/test (address@hidden) 930 : cvs log
onlyonmain
RCS file: /usr/cvsroot/test/Attic/onlyonmain,v
Working file: onlyonmain
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002/11/27 03:53:52; author: msinotte; state: dead; lines: +0
-0
PR#: PR 1422 (Required)
----------------------------
revision 1.1
date: 2002/11/27 03:52:40; author: msinotte; state: Exp;
PR#: PR 1422 (Required)
========================================================================
=====
/usr/home/msinotte/work/rel_10/test (address@hidden) 931 : cat
.cvsignore
onlyonmain
/usr/home/msinotte/work/rel_10/test (address@hidden) 932 : cvs update
cvs update: Updating .
? .cvsignore
cvs update: Updating dir1
cvs update: Updating dir2
cvs update: Updating dir3
cvs update: Updating dir4
/usr/home/msinotte/work/rel_10/test (address@hidden) 933 : >
IF FILE IS INTRODUCED ONLY ON A BRANCH AND THEN REMOVED, .cvsignore
DOESN'T WORK:
(This is also the behavior if the file was introduced on main, modified
on the branch,
removed on main, and then removed on the branch). All that matters is
that there was
actiivity on a branch.
/usr/home/msinotte/work/rel_11/test (address@hidden) 937 : cvs log
onlyonbranch
RCS file: /usr/cvsroot/test/Attic/onlyonbranch,v
Working file: onlyonbranch
head: 1.1
branch:
locks: strict
access list:
symbolic names:
rel_11: 1.1.0.2
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
----------------------------
revision 1.1
date: 2002/11/27 18:56:15; author: msinotte; state: dead;
branches: 1.1.2;
file onlyonbranch was initially added on branch rel_11.
----------------------------
revision 1.1.2.2
date: 2002/11/27 18:57:19; author: msinotte; state: dead; lines: +0
-0
PR#: PR 5000 (Required)
----------------------------
revision 1.1.2.1
date: 2002/11/27 18:56:15; author: msinotte; state: Exp; lines: +0
-0
PR#: PR 5000 (Required)
========================================================================
=====
/usr/home/msinotte/work/rel_11/test (address@hidden) 938 : cat
.cvsignore
toremove
onlyonbranch
/usr/home/msinotte/work/rel_11/test (address@hidden) 939 : cvs update
cvs update: Updating .
cvs update: use `cvs add' to create an entry for onlyonbranch
cvs update: use `cvs add' to create an entry for toremove
? .cvsignore
cvs update: Updating dir1
cvs update: Updating dir2
cvs update: Updating dir3
cvs update: Updating dir4
/usr/home/msinotte/work/rel_11/test (address@hidden) 940 : >
Again, any help is greatly appreciated.
Michelle Sinotte
Software CM and Tools
Entrisphere, Inc
address@hidden