Mercurial: Difference between revisions

Jump to navigation Jump to search
151 bytes added ,  10 June 2020
(→‎Submitting patches: Condense section to relevant information.)
Line 15: Line 15:
== Creating and submitting patches (changesets) ==
== Creating and submitting patches (changesets) ==


If you want to modify Octave's source code, given at https://www.octave.org/hg/octave, you cannot just submit your changes there.  You have to generate a patch (or changeset) so Octave developers with permissions can include them into Octave's source code.
Everybody is free to obtain, built, and modify Octave's source code, given in the main repository at https://www.octave.org/hg/octave.  If you want to share your modifications, for example to fix a nasty bug #42424, you cannot just submit your changes to Octave's main repository.  You have to generate a patch (or changeset) so Octave developers with permissions can include them into Octave's source code.


# Get the latest revision of Octave (or some Octave package) <pre>hg clone https://www.octave.org/hg/octave</pre> or when already cloned <pre>hg pull && hg update</pre>
# Get the latest revision of Octave (or some Octave package) <pre>hg clone https://www.octave.org/hg/octave</pre> or when already cloned <pre>hg pull && hg update</pre>

Navigation menu