info-cvs
[Top][All Lists]
Advanced

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

Re: Help with moving repository


From: Kaz Kylheku
Subject: Re: Help with moving repository
Date: Mon, 20 Jan 2003 06:11:18 -0800 (PST)

On Mon, 20 Jan 2003, Mark Cooper wrote:

> Is there a utility available anywhere to perform global changes to the cvs
> metadata in a users working copy. For instance change the entry in cvs/root
> from ":pserver:address@hidden:/cvs/cvsroot" to
> ":pserver:address@hidden:/cvs/cvsroot". I can imagine that someone somewhere
> has done this before.

A simple combination of find and sh should do:

    find . -type d -name CVS -exec sh -c 'echo :pserver:... > {}/Root' \;

Here's yet another reason to use Meta-CVS: only one CVS directory 
to fiddle with if you ever have to.





reply via email to

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