I generally do:

svn up   (make sure I am up to date)
patch -p 0 -i <path to patch> [--dry-run]

I usually do the --dry-run first to see if it applies cleanly, then drop it if it does.

HTH,
Grant

On Apr 13, 2008, at 10:37 AM, khirb7 wrote:


hello every body

May be it's a stupid question as I am new in Solr, I want to know how to
apply a patch, for example this one that I find here:
https://issues.apache.org/jira/browse/SOLR-225
SOLR-225+260-HighlightPlugins.patch
SOLR-225-HighlightingConfig.patch
to Allow pluggable Highlighting classes -- Formatters and Fragmenters, are these two files are one patch or two differente patch and how to apply
them.

thank you in advance.
--
View this message in context: 
http://www.nabble.com/how-to-apply-a-patch-tp16659477p16659477.html
Sent from the Solr - User mailing list archive at Nabble.com.


--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ






Reply via email to