How to export "cvs diff" to file from eclipse?

I think i might be silly, but I am tired completely searching solution for this...

So, the question is:
1. I have one module, say module1. Where i have lots files inside the modules
2. Using eclipse i can able to find the difference between 2 tags for each file...
3. so far fine, I want to find out the way so that i can see difference for the same module for 2 tags (all files included) and want to export that info to some other file...

Hope I am clear in explanations on my question.. Can any one help me to achieve this?

BTW, I am using Eclipse 3.4 ( I don't think it matters, but including if in case.. )
yarabatiAsked:
Who is Participating?
 
yarabatiConnect With a Mentor Author Commented:
Hmmmm.... If that is the way, I can't do anything :(

Any ways, thanks a lot for the help....
0
 
Gibu GeorgeConnect With a Mentor Chief Technology OfficerCommented:
right click in the file select team--> click on create patch
0
 
yarabatiAuthor Commented:
I see all buttans disabled, nothing to do...
And it is say "No changes", however there ARE changes...

Any ideas..how to use this???
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
yarabatiAuthor Commented:

say, if:
1. i checkout module for tag1 (but tag2 is already there)
2. I wan to send the diff file from tag1 to tag2

How can I achieve this here...?
0
 
Gibu GeorgeChief Technology OfficerCommented:
This is my understanding

You have two tags in the CVS tag1 and tag2

You want to take the diff between a particular file in tag1 and tag2

is this correct?
0
 
yarabatiAuthor Commented:
I am sorry, I think because of my bad English you could not able to understand i think..

1. module1 checked out by tag1
2. I want the difference in file for this module1 (already checked out using tag1) after comparing with tag2

Note: module1-which internally has around 100 files...

0
 
Gibu GeorgeChief Technology OfficerCommented:
I don't there is any way to take the diff between two tags. You need to check out both the tags and take the diffs using  windiff or winmerge or similar tools
0
 
yarabatiAuthor Commented:

This seems quite different, than "cvs diff" command output:

1. I have one module, say module1
2. There are around 100 files, one file is say Test.java. This source has around 2000 lines of code.
3. I simply changed one line in Test.java by adding one extra comment...!!!
4. I want to send the difference now for entire module1, to my boss
5. So, I right clicked->Team->create patch
6. I see the file changed and created patch. so far so good... :)
7. I open that create patch file, and I see over 4000 lines, but i just added one extra comment. It tried giving entire source lines even though i didn't change it....

I see there are couple of options creating before patch, but all are same in the way it creates...
Is there any way, I can see only the changed lines in created patch.
0
 
Gibu GeorgeChief Technology OfficerCommented:
That might be white spce issues, or new line char between your cvs repository os and your os
0
 
yarabatiAuthor Commented:

Seems right.... my CVS running under Redhat 7.1 (VM) and my desk machine is running under XP.

How I can handle this, any idea?
0
 
Gibu GeorgeChief Technology OfficerCommented:
The character set on both should be made same, I think that is the only way
0
 
Gibu GeorgeChief Technology OfficerCommented:
I am not 100% sure
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.