Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Incoming Change Sets as Patches?
Incoming Change Sets as Patches? [message #326751] Mon, 31 March 2008 15:17 Go to next message
Eclipse UserFriend
Originally posted by: Masha_Krol.ca.ibm.com

Hello all,

I've noticed that between the version of our codebase that I have in my
workspace and the latest code from CVS HEAD, some commit broke my
functionality. I've synchronized to find several incoming change sets. I
would like an easy way to apply them one at a time with the possibility of
reverting - so I was thinking of creating patches from the change sets and
applying/reverting them as needed (unless there is some other awesome way
to do this). However, this functionality does not seem to be available for
incoming change sets; am I missing something?

Thanks in advance,
Masha
Re: Incoming Change Sets as Patches? [message #326759 is a reply to message #326751] Mon, 31 March 2008 19:21 Go to previous message
Eclipse UserFriend
Originally posted by: groups.pellaton.li

Hi

Sorry, I don't know how to do that using Eclipse. However the good old
command line cvs client may help you. It can create diffs between any
two revisions of a file (forward and reverse). If the correct flags are
used, Eclipse is able to import the diffs of cvs as patches.

The following command creates a reverse patch to revert the file
foo.txt from revision 1.3 back to revision 1.2:

cvs diff -u8pN -r 1.3 -r 1.2 foo.txt > foo.patch

Hope that helps

Michael Pellaton
Previous Topic:Location of linked resource
Next Topic:Please help - problem with open resource dialog
Goto Forum:
  


Current Time: Thu Aug 29 12:33:01 GMT 2024

Powered by FUDForum. Page generated in 0.02838 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top