1,860
edits
(→Creating and submitting patches (changesets): Add example.) |
|||
Line 11: | Line 11: | ||
* scripts/help/help.m: Describe what you changed to display relevant topics | * scripts/help/help.m: Describe what you changed to display relevant topics | ||
first. The maximal line width is 80 characters.</syntaxhighlight> | first. The maximal line width is 80 characters.</syntaxhighlight> | ||
# Export the changes <pre>hg export -r tip -o bug42424.patch</pre> The final patch for submission will look like this<syntaxhighlight lang="patch | # Export the changes <pre>hg export -r tip -o bug42424.patch</pre> The final patch for submission will look like this<syntaxhighlight lang="diff"># HG changeset patch | ||
# User Awesome Hacker <awesome@hacker.com> | |||
# Date 1591780091 -32400 | |||
# Wed Jun 10 18:08:11 2020 +0100 | |||
# Node ID 68c698c4f2fd98bf2d48234bd1da99e91763114f | |||
# Parent f5c9bb5955e7c9fddef5c3c3f115201e11b43b79 | |||
help.m: Display relevant topics first (bug #42424) | |||
* scripts/help/help.m: Describe what you changed to display relevant topics | |||
first. The maximal line width is 80 characters. | |||
diff -r f5c9bb5955e7 -r 68c698c4f2fd scripts/help/help.m | |||
--- a/scripts/help/help.m Tue Jun 09 14:11:13 2020 -0700 | |||
+++ b/scripts/help/help.m Wed Jun 10 18:08:11 2020 +0900 | |||
@@ -99,7 +99,7 @@ function retval = help (name) | |||
endif | |||
## Get help text | |||
- [text, format] = get_help_text (name); | |||
+ [text, format] = get_better_help_text (name); | |||
## Take action depending on help text format | |||
switch (lower (format)) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
# Upload {{Path|bug42424.patch}} to the [https://savannah.gnu.org/bugs/?group=octave bug] or [https://savannah.gnu.org/patch/?group=octave patch] tracker. If your patch file is larger than the upload limit, you can compress it before uploading. Please use a free format! | # Upload {{Path|bug42424.patch}} to the [https://savannah.gnu.org/bugs/?group=octave bug] or [https://savannah.gnu.org/patch/?group=octave patch] tracker. If your patch file is larger than the upload limit, you can compress it before uploading. Please use a free format! |