summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
Commit message (Collapse)AuthorAgeFilesLines
* - Move scripts directory to quilt/scripts to simplify running quiltAndreas Gruenbacher2006-01-141-794/+0
| | | | | | directly from the source tree. - test/Makefile: merge into Makefile.in (target check). - Makefile.in: clean up.
* - Use better variable names to avoid name clashes.Andreas Gruenbacher2006-01-141-3/+3
|
* - Use the quilt version in the source tree instead of theAndreas Gruenbacher2006-01-141-3/+3
| | | | installed version for running the test suite.
* - Oops, the /dev/null "fix" broke create-delete.test. Back out this changeAndreas Gruenbacher2005-11-281-0/+4
| | | | and fix only the specific -p0 case.
* - quilt/diff.in, quilt/refresh.in: stop using /dev/null for addedAndreas Gruenbacher2005-11-281-3/+2
| | | | | | | | | | | | or removed files: GNU diff does not do that either, and for removed files this leads to headers that only reference $file.orig and /dev/null, so the actual file is not found. (This is only truly fixes -p0 style patches as -p1 style patches use dir.orig/file instead of dir/file.orig so the filename is not lost, but stopping to use /dev/null makes sense for -p style patches just the same. - files command: remove a redundant find_patch(). - Make top_patch() fail if there is no top patch.
* Prevent patch_header and patch_body from mistakenly considering "---"Jean Delvare2005-10-041-2/+2
| | | | | | alone on its header line as the beginning of the patch body. This fixes a bug which had been reported on LKML: http://lkml.org/lkml/2005/10/3/147
* - Makefile.in: Add a dependency of all to COMPAT_PROGRAMS whichAndreas Gruenbacher2005-09-181-3/+3
| | | | | was lost somewhere. Fix internal "mta" program. - Get rid of ``grep -E''.
* - Remove compatibility shell functions and convert them toAndreas Gruenbacher2005-09-181-4/+0
| | | | standalone scripts.
* - Replace @FOO@ macros in scripts with foo command where possible.Andreas Gruenbacher2005-09-181-24/+24
|
* - Only add compat/ directory to PATH if it exists. Only create itAndreas Gruenbacher2005-09-171-3/+6
| | | | when necessary.
* - Merge compatibility layer from John Vandenberg <jayvdb@gmail.com>.Andreas Gruenbacher2005-09-171-33/+7
|
* - scripts/patchfns.in: New quilt_command function for running anotherJean Delvare2005-09-091-0/+8
| | | | | | quilt command. - quilt/delete.in, quilt/edit.in: Use the new quilt_command function. Patch from Joe Green.
* - scripts/patchfns.in: Rewrite files_in_patch_ordered() so as to notJean Delvare2005-09-061-11/+5
| | | | | | | require the awk asort function, which is not available on all versions of awk. - test/sort.test: Add more files to better test the ordering and sorting issues. Original patch by John Vandenberg.
* scripts/patchfns.in: Fix permissions of .pc/applied-patches being lost inJean Delvare2005-09-021-2/+3
| | | | remove_from_db() and rename_in_db().
* - scripts/patchfns.in: insert_in_series(): Insert new patchesAndreas Gruenbacher2005-08-261-6/+6
| | | | | | before the following patch instead of after the top patch. When no patch is in the series file, insert the new patch at the end (i.e., after comments from setup, etc.) instead of at the top.
* - Add internationalization support to Perl scripts as well.Andreas Gruenbacher2005-07-181-21/+2
|
* - Based on work done by several contributers, add a headerv0.41Andreas Gruenbacher2005-07-181-13/+24
| | | | | command. - Bump version to 0.41.
* - Remove outdated BUGS file and references.Andreas Gruenbacher2005-07-021-14/+12
| | | | | - refresh command: don't write into existing patches but create new files instead to avoid overwriting hardlinked copies.
* - Jean Delvare:Andreas Gruenbacher2005-06-261-0/+1
| | | | | + Add a --version option that prints the program version. + patch_args: Fix comments parsing in series files.
* - Add --no-index option to diff and refresh commands: SuppressAndreas Gruenbacher2005-06-061-2/+5
| | | | Index: lines in the patch. From Jean Delvare <khali@linux-fr.org>.
* - Add --sort options to the diff and refresh commands whichAndreas Gruenbacher2005-04-131-2/+8
| | | | | | | | | | sorts files by filename. The default is to keep files in their original order whenever possible. - refresh command: add new files in sort order instead of the filesystem order. - diff command: output files in the order in which they show up in the patch instead of sorting them alphabetically. - Add sort testcase.
* - Don't leak so many temporary files in the push command.Andreas Gruenbacher2005-02-061-21/+3
| | | | - Include command names in tempfile names to find leaks more easily.
* - Use color defaults so that QUILT_COLORS can be used to onlyAndreas Gruenbacher2005-02-021-1/+2
| | | | | | | | override some colors. - When checking for remaining changes (refresh forgotten), use $QUILT_PATCH_OPTS as in the push command to get identical results. Don't generate the actually diff; it doesn't get printed anyway. This should speed up things.
* - Add color support for push command output and allow to customizeAndreas Gruenbacher2005-01-231-0/+9
| | | | | colors via the QUILT_COLORS environment variable (for reverse video, etc.).
* - Add mail command, doc/README.MAIL and example ``mail'' commandAndreas Gruenbacher2005-01-231-7/+54
| | | | | filter in quilt.quiltrc. - Bump version to 0.38.
* - Fix extra trailing space in series file after quilt refreshAndreas Gruenbacher2004-11-081-1/+1
| | | | (David Vrabel <dvrabel@arcom.com>).
* - scripts/patchfns.in: set the dotglob option so that dot filesAndreas Gruenbacher2004-09-221-1/+2
| | | | | | | | | | | | | will show up in file globs as well. Bug reported by James Rowe. - Add a missing tab to the patch header of files that are removed. Bug reported by James Rowe. - Push command: Without -f or --leave-rejects, when applying a patch failed, the *.rej files were not removed properly. Change the code so that they won't be created in the working tree in the first place this case. - test/run script: Oops, the previouos commit was not the latest version. - Bump version to 0.36.
* - Refresh command: recognize and ignore header lines generated byAndreas Gruenbacher2004-08-251-1/+1
| | | | | ``cvs diff''. - Add a missing print_patch call (cosmetic).
* - Replace a few instances of awk and sed with @AWK@ and @SED@ inAndreas Gruenbacher2004-07-141-2/+2
| | | | *.in files.
* Fix a typo (s/prinf/printf/) reported by Dean RoehrichMartin Quinson2004-07-131-1/+1
|
* - Fix stripping of the path to $QUILT_PATCHES when working inAndreas Gruenbacher2004-07-131-1/+1
| | | | sub-dirextories. (This could be fixed more flexibly later...)
* - Disable CDPATH within quilt (Joe Green writes: I've seen someAndreas Gruenbacher2004-07-121-0/+2
| | | | | | cases where having CDPATH set results in the path being printed by cd, and I suppose it's possible that the wrong destination might be selected in some cases.)
* - Some more QUILT_PATCHES_PREFIX fixes.Andreas Gruenbacher2004-07-121-3/+5
|
* - Switch from echo to printf for all translations: This is moreAndreas Gruenbacher2004-07-091-5/+6
| | | | | | | | | | | | | | | stable than having expansions in messages that might change independent of the message. - Add print_patch function and always use it when printing patch names. Remove -n options from various scripts and use a global switch QUILT_PATCHES_PREFIX in .quiltrc to decide between patch names with and without directory prefix. Depending on user experience this switch may eventually go away. - Add --diffstat option to refresh command: If given, this option inserts diffstat statistics at the end of the patch header, or refreshes the existing diffstat output. No special tags in the path file (%diffstat or the like) are needed. - Minor fix inserting changelog into RPM specfile.
* - Add common GNU Diff format options to diff and refresH commands:Andreas Gruenbacher2004-07-041-9/+13
| | | | | | | | | | | -u, -U num, -c, -C num. REname old -c option (combine patches) of diff command to --combine. - Extend the function that splits comments froM patches and syntax coloring to handLe combined diff format. - Honor the LAnG environment variable again; this goT broken at some point. - Set TEXTDOMAINDIR to where the translations are put so that Messages are found even when not installing into /usr.
* - Several Fixes from Joe Green <jgreen@mvista.com>:Andreas Gruenbacher2004-07-021-15/+16
| | | | | | | | | | | | | | | | + Another sed \t\r problem, in Makefile.in + Bad error message on "quilt delete" of non-existent patch + "import" doesn't remove all leading components on patch file + Misspelling in "import" help text - With using the GNU diff --label option, file timestamps disappeared. Specify the timestamps in --label by hand: This gives us added flexibility when generating patches; we may some day want to support diff styles other than unified. Also reported by Joe Green. - Add --backup option to quilt refresh. - Update documentation to QUILT_${COMMAND}_ARGS in .quiltrc. (The old settings still work but they are no longer documented.) - Update German translation.
* - Allow passing of default options to commands by definingAndreas Gruenbacher2004-07-011-0/+6
| | | | | QUILT_${COMMAND}_ARGS in .quiltrc. This should eventually get us rid of some of the mess in .quiltrc.
* - Add meta-data version check/upgrade code from Martin Quinson andAndreas Gruenbacher2004-06-101-60/+107
| | | | | | | | | | | | | | me; new `quilt upgrade' command. - Handle new/removed files correctly in generated patches: If the old or new file is missing, the file name in the patch should be /dev/null. Fix test suite accordingly, and add test/create-delete.diff. GNU patch recognizes this, and does additional file existance tests when a patch creates/deletes a file. Also use the --label option of GNU diff instead of hand-editing file name headers. - Add test/Makefile for running the test suite. Note: The tests run against the installed version of quilt! - Bump version to 0.34.
* - Preserve the order of files in patches in the diff and refreshAndreas Gruenbacher2004-06-061-0/+42
| | | | | | | commands. Files added to a patch appear at the end of a patch. The files command also lists the files in the order in which they appear in patches. - Update to version 0.33.
* - Fix `quilt fork': It destroys .pc/applied patches; that bug gotAndreas Gruenbacher2004-04-271-1/+1
| | | | introduced when reverting it to its previous semantics.
* - Fix a glitch in the previous \t fix.Andreas Gruenbacher2004-04-211-1/+1
|
* - Replace two occurrences of \t in sed regular expressionsAndreas Gruenbacher2004-04-211-2/+2
| | | | | | with bash $'\t': Some older versions of sed don't understand \t. Thanks to Randy Dunlap <rddunlap@osdl.org> for reporting this.
* - Extend `quilt graph' to also support checking for overlappingAndreas Gruenbacher2004-03-141-2/+2
| | | | | | changes in patches. - Export QUILT_PATCHES QUILT_PC SUBDIR SERIES DB for use in non-shell components of quilt.
* - Revert `quilt fork' to how it originally worked: fork theAndreas Gruenbacher2004-03-131-0/+21
| | | | | | | | | | | | | | *topmost* patch, not the next unapplied patch. Adapt the test suite accordingly. - Add flag to backup-files.c to make sure that files in the working tree have a link count of at most one. Use this where appropriate. - Fix a bug in `quilt snapshot': Taking snapshots caused files to get link counts bigger than one, so modifying them could cause multiple files to get modified. Speed up the command, too. - Update the documentation. Add example1.test from the documentation.
* - Quilt push/pop: exit with a non-zero status when beyond series.Andreas Gruenbacher2004-03-101-2/+2
| | | | - Ignore empty lines in series file.
* - Sub-directory support:Andreas Gruenbacher2004-02-201-2/+2
| | | | | | | | | | + Fix another bug that triggers when /patches exists. + Working in sub-directories: Force `quilt new' to always create the new patch in the current working directory even if there is a patches/ sub-directory further up the directory tree. This should restore the behavior from before Jan 28 very well. - quilt files, diff, refresh: Sort the files in the patch alphabetically.
* - Never fail when patching temporary files in `quilt diff -z',Andreas Gruenbacher2004-02-151-2/+2
| | | | only warn.
* - Add some fixes from Manuel Estrada Sainz <ranty@debian.org>.Andreas Gruenbacher2004-02-051-1/+4
| | | | | - Add QUILT_SERIES setting: Override the location of the series file to use.
* - Add --quiltrc={rcfile|-} option. Remove some superfluous quotingAndreas Gruenbacher2004-02-031-6/+6
| | | | | | from quilt wrapper. - Extra tests in `quilt refresh' did not check if the old patch was missing.
* - No longer remove common extensions (.dif, .diff, .patch, .gz,Andreas Gruenbacher2004-01-311-25/+37
| | | | | | | .bz2) from patch names. This allows patches in the same series that only differ by extension, and cleans up the scripts a little. Also don't remove extensions when printing patch names. - Remove unused diffstat code.