[plug] CVS - difference upload

Ryan ryan at is.as.geeky.as
Tue Mar 16 17:57:21 WST 2004


On Tue, 2004-03-16 at 17:46, Onno Benschop wrote:
> On Tue, 2004-03-16 at 20:38, Ryan wrote:
> > On Tue, 2004-03-16 at 17:28, Onno Benschop wrote:
> > > Is there a way to get cvs to give me a tree structure that contains only
> > > the changed files - 'cause then I can just blast those up to the hosting
> > > server...
> > 
> > It has been *ages* since I used CVS, and even then I hardly touched it,
> > but does something like this do (pseudo-ish code):
> 
> Yeah, I'm currently heading down that track with:
> 
> 	cvs diff -r tag_1 -r tag_2 2>&1 | grep file | grep -E "^\<|^\>"
> 

Sure to cause a stir with your coding language of choice, but if it were
me I'd have a look at this:

http://search.cpan.org/~rsoliv/Cvs-0.05/lib/Cvs.pm  

Maybe there is a similar module type thing for PHP?

Lots of things on the net point to the need for database backed CVS
repositories like QVCS etc. to handle intensive(?) queries like this.

*shrugs*

Ryan




More information about the plug mailing list