Re: re: full cvs copy
| From: | Jeremy Johnstone | Date: | Wed, 05 Nov 2003 15:07:45 +0000 |
| Subject: | Re: re: full cvs copy | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356858@lists.php.net to get a copy of this message | ||
What he really needs to do is just email one of the people who has shell
access to the CVS server so that way they can make a tarball of the
directory for him. That way he will have full history on the files as he
was wanting without massively attacking the server. I am not sure who
all has access, but I do know there are a few.
Jeremy
On Tue, 2003-11-04 at 14:44, Gabor Hojtsy wrote:
> > You could run this for each module, but it'll tax the CVS server pretty heavily, and
> > you'll have a mess on your end (sorting).
> > It'll work, though.. (tested very quickly; may be buggy).
> >
> > #--CUT
> > EXTENSION=xml; SUFFIX="_REV-"; for f in
find . -name
> > '*.'$EXTENSION; do REV=cvs log $f | grep
> > "^revision" | awk {'print $2'}; for
> > r in $REV; do cvs update -r $r -p $f > $f$SUFFIX$r; done; done;
> > #--CUT
> >
> > Run it from the top level of each (previously checked out) module.
> >
> > Enjoy.. remember.. it's probably buggy, and you're going to upset some admins.
> > (-:
> > Play on your own server.
>
> You will upset the admins and developers trying to work on PHP, so I
> suggest you only try to do such things on a very small set of files.
>
> Goba
>