Reputation: 1242
I can't seem to find a way to save the changes I make to project files using the two-way compare of two local project file folders. I can step through the differences and copy changes from left to right, but there's no way, as far as I can tell, to save those changes. I looked at the files outside of Eclipse after I copy changes left to right and they are not being updated.
Here's a help site explaining what I'm doing http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-25.htm it sayz 'You can save changes to resources that are made in the comparison editor.' but doesn't say how...
I can just copy and paste the contents of the merged file into a new editor window but this seems like a silly way to go about this. I guess I could also create a diff patch and apply it to my project as well...
Upvotes: 3
Views: 2359
Reputation: 64650
It seems that using *nix command diff
is a piece of cake:
diff -rupN original/ new/ > original.patch
as stated in the "The Ten Minute Guide to diff and patch"
Upvotes: 1