Message: previous - next
Month: March 2011

Re: [trinity-devel] Finding patches in svn

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 29 Mar 2011 01:07:04 -0500
> I found some patches that I think have not been merged into svn.
> What is the best way for me to check whether a patch has already been
> merged into svn? Is there a smart/efficient/programmtic way to do this?

Usually I go to the websvn for the file in question, pull the latest copy
of it, and visually inspect any lines the patch should have added to the
source code.  If they are present in the websvn, then I assume the patch
has already been applied.

A more programmatic way would be to attempt to apply the patches to a
local SVN copy.  Those which are already in SVN will error out with a
"reverse patch detected" or similar error.

Hope this helps!