info-cvs
[Top][All Lists]
Advanced

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

Re: Any way to _only_ checkout/export of all changed file(s)between 2 ta


From: Dusan Juhas
Subject: Re: Any way to _only_ checkout/export of all changed file(s)between 2 tags from cvs
Date: Thu, 27 Feb 2003 08:26:02 +0100 (CET)

Hi Chris,
I don't know 'pure' cvs solution but I think you can use such a trick:

cvs -Q rdiff -s -r TAG1 -r TAG2 module_name|awk '{print $2}'|xargs cvs co

where module_name could be a directory name also.
Step by step desc.:

cvs -Q rdiff -s -r TAG1 -r TAG2 module_name
generate a list of changed files in following format:
File foo/bar.c changed from revision 1.8 to 1.9

awk '{print $2}'
filter all but file name
output: foo/bar.c

xargs cvs co
build and execute command(s) from std. input
eg. execute cmd: cvs co foo/bar.c

-- 
Best regards,
Dusan Juhas





reply via email to

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