Solved

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

Posted on 2009-05-08
12
1,739 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 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
type mismatch (Object[] to double[] 4 41
hibernate jars 4 58
hashmap order 17 40
activeMQ Queue Messages Enqueued and Messages Dequeued 1 32
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

749 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