[parisc-linux] cvs directory renaming - *action required*
Fri, 22 Sep 2000 20:57:56 -0400
No, what I gave will not work and is in fact *horribly wrong*. I would
recommend that people use Alan's script fragment instead ;)
Alan Modra wrote:
> On Fri, 22 Sep 2000, Michael Ang wrote:
> > "linux-2.3" will be renamed to "linux"
> > "binutils-2.10" will be renamed to "binutils"
> > If you currently have a tree checked out, you will need to change all of
> > your CVS/Repository files to point to the new directory names. With
> > bash you can do it like this:
> > $ cd linux-2.3
> > $ for i in `find . -name Repository`; do echo "linux" > $i; done
> > $ cd binutils-2.10
> > $ for i in `find . -name Repository`; do echo "binutils" > $i; done
> Errm, will this work? My linux-2.3/CVS/Repository file looks like this:
> and linux-2.3/CVS/arch/Repository has
> I wasn't game to try the above, and instead used
> cd linux-2.3
> for z in `find . -name Repository`
> sed -e 's/-2.3//' $z > zzz && mv zzz $z
> with a simliar trick for binutils.
> Linuxcare. Support for the Revolution.