Solved

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

Posted on 2009-05-08
12
1,712 Views
Last Modified: 2013-12-15
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.. )
0
Comment
Question by:yarabati
  • 6
  • 6
12 Comments
 
LVL 12

Assisted Solution

by:Gibu George
Gibu George earned 200 total points
ID: 24337517
right click in the file select team--> click on create patch
0
 

Author Comment

by:yarabati
ID: 24337676
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
 

Author Comment

by:yarabati
ID: 24337728

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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 12

Expert Comment

by:Gibu George
ID: 24337823
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
 

Author Comment

by:yarabati
ID: 24337873
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
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338044
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
 

Author Comment

by:yarabati
ID: 24338047

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
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338077
That might be white spce issues, or new line char between your cvs repository os and your os
0
 

Author Comment

by:yarabati
ID: 24338238

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
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338290
The character set on both should be made same, I think that is the only way
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24338297
I am not 100% sure
0
 

Accepted Solution

by:
yarabati earned 0 total points
ID: 24338322
Hmmmm.... If that is the way, I can't do anything :(

Any ways, thanks a lot for the help....
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse argument 14 61
couple of eclipse 5 37
difference of if loops 23 49
spring jars download 1 27
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question