CVS command for patches

J

Joacim J

Hi,

Assume that I have a project in CVS called 'MyProject'. It's now checked
out into 'C:\Projects\MyProject' connected to the HEAD stream. It has a
tag 'v1_0' and now some changes has been made and checked in. It's now
tagged as 'v1_0_1'.

I now need to distrbute a patch (zip or jar) only containing the changed
files between 'v1_0' and 'v1_0_1'.

How can I check out these files to
'C:\Projects\MyProject_1.0-1.0.1_patch' ??

It's fine to use CVS command at the prompt, ANT or...almost anything.

Please help!

BR
Joacim
 
D

Daniel Tryba

Joacim J said:
Assume that I have a project in CVS called 'MyProject'. It's now checked
out into 'C:\Projects\MyProject' connected to the HEAD stream. It has a
tag 'v1_0' and now some changes has been made and checked in. It's now
tagged as 'v1_0_1'.

I now need to distrbute a patch (zip or jar) only containing the changed
files between 'v1_0' and 'v1_0_1'.

How can I check out these files to
'C:\Projects\MyProject_1.0-1.0.1_patch' ??

It's fine to use CVS command at the prompt, ANT or...almost anything.

cvs diff --help wil tell you all you need to know:

cvs diff -r tag0 -r tag1 -u > patch_tag0_tag1.patch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top