[Top][All Lists]

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

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

From: Eric Siegerman
Subject: Re: removing sandbox files ignored or not registerd via cvs add
Date: Wed, 24 Apr 2002 12:48:43 -0400
User-agent: Mutt/1.2.5i

On Wed, Apr 24, 2002 at 06:42:48AM -0700, Gianni Mariani wrote:
> 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.)
> Usually this is part of the build e.g.
> make [whichever-]clean

Partly.  Certainly "make whichever-clean" should delete cruft
created by the build system.  However:
  - Sometimes one wants to test that (as, coincidentally, I've
    been doing a lot of this week).  The best way I've thought of
    is essentially:
      - check out a new sandbox
      - "find . | sort >/tmp/ok-files"
      - build
      - "make whichever-clean"
      - "find . | sort | comm -3 /tmp/ok-files -"
    The thing JV asks for would replace the first step, and would
    be faster and less space-consuming than deleting one's old
    sandbox and checking out a new one for each test run.

  - I don't know about you, but my sandboxes tend to accrete a
    lot of junk (though this tends to be more easily identifiable
    than build products, since it doesn't get mentioned in

One thing that would make writing the script a lot easier was if
"-I!" on the command line really meant "ignore nothing";
currently the per-directory .cvsignore's supercede it.


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
"Outlook not so good."  That magic 8-ball knows everything!
I'll ask about Exchange Server next.
        - Anonymous

reply via email to

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