[Top][All Lists]

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

Re: howto - files not in repository

From: Mark E. Hamilton
Subject: Re: howto - files not in repository
Date: Thu, 02 Mar 2006 09:42:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920

Aditya wrote:
I over wrote my local copy of source code repository.
As a result, I have number of files that are not in the repository but
are present in the local copy.
Is there any way to make CVS spit out the names of these files?
(The tree is large, so it would be difficult to parse through each
directory manually to find this information out.)

I'm presuming here that you didn't overwrite your repository, but just your working directory/sandbox. (If you overwrote your repository the only solution is to restore it from your most recent backup.)

The 'cvs update' command prefixes all unknown files with '?', so one of this command will show you all the unknown files.

cvs -qn update | egrep '^\?'

Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.

reply via email to

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