?
Solved

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

Posted on 2009-05-08
12
Medium Priority
?
1,791 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 12

Assisted Solution

by:Gibu George
Gibu George earned 800 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

762 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