Difference between revisions of "How-Tos"
Crulshorukh (talk | contribs) m |
Crulshorukh (talk | contribs) (→Mercurial) |
||
Line 292: | Line 292: | ||
==Mercurial== | ==Mercurial== | ||
+ | |||
+ | <hr style="height:5px;width:15%;background-color:Peru;"> | ||
+ | <br/> | ||
+ | {|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | ||
+ | | | ||
+ | '''<span style="color:DarkRed">Step 1</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Download the .patch or .diff file onto your machine</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 2</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Navigate to the repo that you want to install the patch to i.e. testRepo | ||
+ | (I will using repo name for this example, substitute it with your repo name when you are trying to apply a patch yourself)</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 3</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Open testRepo\.hg\hgrc (the config file)</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 4</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Add the following to hgrc and save (This enables queues for hg so that we can use commands that we need, qimport and qpush)[extensions] | ||
+ | hgext.mq =</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 5</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Now open up a command prompt and navigate to your repo directory</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 6</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Type in hg qimport <<full-path-of-patch-file>> and press enter</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 7</span>''' | ||
+ | <blockquote> | ||
+ | <pre>The above command should create a patch folder within testRepo\.hg\patches\</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 8</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Next navigate to testRepo\.hg\patches\</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 9</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Type in hg qpush <<patch-file-name>></pre> | ||
+ | </blockquote> | ||
+ | |||
+ | '''<span style="color:DarkRed">Step 10</span>''' | ||
+ | <blockquote> | ||
+ | <pre>Done! The patch should have been applied (if you get an error such as “abort: local changes found, | ||
+ | refresh first” then that means you have made changes to the original files and the patch won’t work)</pre> | ||
+ | </blockquote> | ||
+ | |||
+ | |} | ||
+ | |||
==Open Office== | ==Open Office== | ||
==Eclipse== | ==Eclipse== |
Revision as of 11:54, 4 December 2008
Contents
Welcome
Welcome to the Seneca How-To page. You'll find How-To's for all things Open Source related.
Wiki
Mozilla
Firefox |
|||||||||
|
Thunderbird
Mercurial
Step 1 Download the .patch or .diff file onto your machine Step 2 Navigate to the repo that you want to install the patch to i.e. testRepo (I will using repo name for this example, substitute it with your repo name when you are trying to apply a patch yourself) Step 3 Open testRepo\.hg\hgrc (the config file) Step 4 Add the following to hgrc and save (This enables queues for hg so that we can use commands that we need, qimport and qpush)[extensions] hgext.mq = Step 5 Now open up a command prompt and navigate to your repo directory Step 6 Type in hg qimport <<full-path-of-patch-file>> and press enter Step 7 The above command should create a patch folder within testRepo\.hg\patches\ Step 8 Next navigate to testRepo\.hg\patches\ Step 9 Type in hg qpush <<patch-file-name>> Step 10 Done! The patch should have been applied (if you get an error such as “abort: local changes found, refresh first” then that means you have made changes to the original files and the patch won’t work) |
Open Office
Eclipse
Linux
Fedora
Ubuntu
- Ubuntu: http://www.ubuntu.com/
- Ubuntu Forums: http://ubuntuforums.org