info-cvs
[Top][All Lists]
Advanced

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

Re: no space on device - import


From: Eric Siegerman
Subject: Re: no space on device - import
Date: Thu, 12 Sep 2002 14:36:48 -0400
User-agent: Mutt/1.2.5i

On Thu, Sep 12, 2002 at 10:50:49AM -0700, Mike Ayers wrote:
> cvs relocate /old_root/ /new_root

This doesn't belong in CVS proper.  It wouldn't hurt to have a
supported (as opposed to ./contrib) script for it, if someone
felt like writing one, and someone else felt like committing it
:-)

But failing even that, it's pretty simple; something along the
lines of:
        newroot=...
        for f in `find $sandbox -type f -print | grep '/CVS/Root$'`; do
                echo $newroot >$f
        done

I used "find | grep" because find on its own can't filter for
".../CVS/Root" (GNU find can do it, but others can only do
".../Root", which isn't specific enough.)

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
[...] despite reports to the contrary, it is the rare programmer who
permanently loses his sanity while coding ("permanently" being the
operative word).
        - Eric E. Allen




reply via email to

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