info-cvs
[Top][All Lists]
Advanced

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

Re: removing sandbox files ignored or not registerd via cvs add


From: Frederic Brehm
Subject: Re: removing sandbox files ignored or not registerd via cvs add
Date: Wed, 24 Apr 2002 13:16:48 -0400

At 13:17 +0200 4/24/02, Janning Vygen wrote:
How can i easily remove all files in a sandbox which are

1. not yet registered in the repository via cvs add /cvs import
2. are ignored by .cvsignore or internal ignore list (like .o ~ etc.)

Use "cvs -nq update" and look at the lines that begin with a "?". Those lines contain the names of the files that match criteria 1 above.

Files that match the ignore list patterns AND have a cvs status of "Unknown" are the ones that match criteria 2.

Some scripting will get you the rest of what you want.

Fred
--
Fred Brehm, Sarnoff Corporation, address@hidden
http://www.sarnoff.com/digital_video_informatics/vision_technology/index.asp



reply via email to

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