Re: moving CVS repository

2000-01-10 Thread Warner Losh
In message <[EMAIL PROTECTED]> Alexander Langer writes: : Thus spake Nate Williams ([EMAIL PROTECTED]): : > Or even more paranoid and slightly shorter. ;) : > find /local2/CVSfoo -name Root -print | fgrep CVS | : > perl -pi -e 's#/local#/local2/#g;' Yes, but older Repository files must also

Re: moving CVS repository

2000-01-10 Thread Alexander Langer
Thus spake Nate Williams ([EMAIL PROTECTED]): > Or even more paranoid and slightly shorter. ;) > find /local2/CVSfoo -name Root -print | fgrep CVS | > perl -pi -e 's#/local#/local2/#g;' Hehe, yes ;-) But, as bp mentioned already in IRC: find /path/to/checked/out/files/and/not/the/reposi

Re: moving CVS repository

2000-01-09 Thread Lyndon Nerenberg
> "Nate" == Nate Williams <[EMAIL PROTECTED]> writes: Nate> find /local2/CVSfoo -name Root -print | fgrep CVS | perl -pi Nate> -e 's#/local#/local2/#g;' Perl? Bah! (I wrote this to also handle a rename of our CVS server. Adjust as necessary.) #!/bin/sh for i in `find . -type d -nam

Re: moving CVS repository

2000-01-09 Thread Chris Costello
On Sun, Jan 09, 2000, Nate Williams wrote: > find /local2/CVSfoo -name Root -print | fgrep CVS | > perl -pi -e 's#/local#/local2/#g;' ^ Perhaps in this space you meant to type ``xargs''? -- |Chris Costello <[EMAIL PROTECTED]> |If you don't change your direction, you may end up w

Re: moving CVS repository

2000-01-09 Thread Nate Williams
> > > This has the side-effect(?) that all sources checked out from the 'old' > > > repository location have references to /local/CVSfoo whereas cvs update > > > obviously wants to have the references to /local2/CVSfoo. > > The simplest way is to replace content of CVS/Root files. They > > con

Re: moving CVS repository

2000-01-09 Thread Peter Wemm
Wilko Bulte wrote: > On Sun, Jan 09, 2000 at 10:27:16PM +0800, Peter Wemm wrote: > > Ollivier Robert wrote: > > > According to Wilko Bulte: > > > > Is there any way, short of running a fresh cvs co, to correct this? > > > > > > *NOT TESTED* > > > > > > Something along the lines of > > > > > > p

Re: moving CVS repository

2000-01-09 Thread Wilko Bulte
On Sun, Jan 09, 2000 at 10:27:16PM +0800, Peter Wemm wrote: > Ollivier Robert wrote: > > According to Wilko Bulte: > > > Is there any way, short of running a fresh cvs co, to correct this? > > > > *NOT TESTED* > > > > Something along the lines of > > > > perl -ni -e 's' **/{Root,Repository} (i

Re: moving CVS repository

2000-01-09 Thread Peter Wemm
Ollivier Robert wrote: > According to Wilko Bulte: > > Is there any way, short of running a fresh cvs co, to correct this? > > *NOT TESTED* > > Something along the lines of > > perl -ni -e 's' **/{Root,Repository} (if using zsh) > > or > > find . \( -name Root -o -name Repository \) -path \

Re: moving CVS repository

2000-01-09 Thread Ollivier Robert
According to Wilko Bulte: > Is there any way, short of running a fresh cvs co, to correct this? *NOT TESTED* Something along the lines of perl -ni -e 's' **/{Root,Repository} (if using zsh) or find . \( -name Root -o -name Repository \) -path \*CVS\* | xargs perl -ni ... if not. -- Ollivi

Re: moving CVS repository

2000-01-09 Thread Alexander Langer
Thus spake Boris Popov ([EMAIL PROTECTED]): > > This has the side-effect(?) that all sources checked out from the 'old' > > repository location have references to /local/CVSfoo whereas cvs update > > obviously wants to have the references to /local2/CVSfoo. > The simplest way is to replace

Re: moving CVS repository

2000-01-09 Thread Boris Popov
On Sun, 9 Jan 2000, Wilko Bulte wrote: > In the course of reorganising my disks I moved my local CVS repository > from /local/CVSfoo to /local2/CVSfoo > > This has the side-effect(?) that all sources checked out from the 'old' > repository location have references to /local/CVSfoo whereas cvs up

Re: moving CVS repository

2000-01-09 Thread Mike Bristow
On Sun, Jan 09, 2000 at 12:44:20PM +0100, Wilko Bulte wrote: > In the course of reorganising my disks I moved my local CVS repository > from /local/CVSfoo to /local2/CVSfoo > > This has the side-effect(?) that all sources checked out from the 'old' > repository location have references to /local/

moving CVS repository

2000-01-09 Thread Wilko Bulte
In the course of reorganising my disks I moved my local CVS repository from /local/CVSfoo to /local2/CVSfoo This has the side-effect(?) that all sources checked out from the 'old' repository location have references to /local/CVSfoo whereas cvs update obviously wants to have the references to /lo