[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: delete an from local CVS/Entries file

From: Jim.Hyslop
Subject: RE: delete an from local CVS/Entries file
Date: Fri, 1 Apr 2005 10:03:14 -0500

Antony Paul wrote:
> Web based - Java. We use branches and it is to avoid merging only.
> Each task have some modified and some new files. We send mails for
> each task.
>     If editing Entries file is so problematic it is better to have
> another working copy where testing passed files are checked out and
> tagged.
That's a possibility.

>     Here the problem is the onsite guy is not a techie. It is
> difficult convince him of all the process. If I could give a script to
> delete files of failed tasks, he can safely delete the file and remove
> CVS entry. Now he is using 'rm' to delete the file and tags it. It is
> our job to untag the failed tasks files and is time consuming for us.
Ah - I think I see a solution.

Once your onsite guy 'rm's the files, your script can be a one-liner:

find . -name CVS -prune -o -type f -exec cvs tag $1 {} \;

This will only apply tags to files that are in your working directory. No
mucking about with the Entries files.

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]