emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-devel] Emacs move


From: John Wiegley
Subject: Re: [Emacs-devel] Emacs move
Date: Thu, 14 Sep 2000 12:19:01 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90

>>>>> On Wed Sep 13, Jeff writes:

> There are a few clever scripts floating around for changing the root
> of an already checked-out repository to a new one.  If you know of
> one that works, please post it and cc: me so I can give it to
> others.

I've using this one daily for quite some time.  I name it "local", and
also symlink "remote" to it.

----------------------------------------------------------------------

#!/bin/sh

REMOTE=":ext:address@hidden:/gd/gnu/cvsroot"
LOCAL=":local:$HOME/src/cvsroot"

if [ $(basename $0) = remote ]; then
    TEMP=$REMOTE
    REMOTE=$LOCAL
    LOCAL=$TEMP
fi

for i in $(find . -name CVS -type d); do
    echo Converting $i...
    perl -i~ -pne "s~$REMOTE~$LOCAL~;" $i/Root
done


reply via email to

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