summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* - Add support for working in subdirectories of the base directoryAndreas Gruenbacher2004-01-281-8/+43
| | | | | | | that contains patches/ and .pc/. In the unlikely case that quilt shall operate in the sub-directory itself, it is sufficient to create a patches/ directory there. - Add a small testcase for subdirectory support.
* - Add QUILT_NO_DIFF_TIMESTAMPS option in .quiltrc.Andreas Gruenbacher2004-01-261-3/+4
| | | | | | GNU patch. - Fix help for `quilt diff'. - Update TODO.
* - Add failpop.test that checks if modified patches are recognized.Andreas Gruenbacher2003-11-041-1/+2
| | | | | - Fix the check for modified patches: That broke with the .pc file removal.
* - No longer verify if patches remove cleanly by reverse applyingAndreas Gruenbacher2003-10-311-0/+1
| | | | | | | | | them: This doesn't always succeed, and the the equivalent of `quilt diff -z' should suffice, anyway. - Add `touch .pc/$patch' after successful refresh: Speeds up `quilt pop' after a refresh. - Update test suite. - apatch was printing a spurious newline.
* - Remove .pc/*/.pc files, and adjust various scripts accordingly.Andreas Gruenbacher2003-10-281-64/+19
| | | | - Run test/one.test inside sub-directory.
* - Change name and semantics of PATCHSCRIPTS variable: Before, ifAndreas Gruenbacher2003-10-281-9/+4
| | | | | | PATCHSCRIPTS was set, the patches were in $PATCHSCRIPTS/patches. Now, if QUILT_PATCHES is set, the patches are in $QUILT_PATCHES. QUILT_PATCHES defaults to "patches", like before.
* Fix bug in first_modified_by function (which broke quilt diff -c).Andreas Gruenbacher2003-10-271-0/+1
|
* - Get rid of patches_per cache_in `quilt patches'. RemoveAndreas Gruenbacher2003-10-261-100/+0
| | | | | patches_per_file and associated functions. `quilt patches' now is a bit slow for unapplied patches.
* - Rename snapshot directory from ".snap0" to ".snap".Andreas Gruenbacher2003-10-261-0/+21
| | | | | | | | | - `quilt diff: Speed up file list generation in `quilt diff'. Don't use modified_files anymore. Instead, add first_modified_by function. I want to get rid of the patches_per_file cache; it sometimes was not brought up to date. Some cleanups. - Add test/snapshot.test. - Fix two errors in the date format in quilt.changes.
* Never replace the series file; just replace its contents. This isAndreas Gruenbacher2003-10-221-12/+12
| | | | necessary if the series file is a symlink.
* - `Quilt fork' should better fork the next patch instead of theAndreas Gruenbacher2003-10-211-22/+1
| | | | | topmost one. Also fix a bug in updating the series file when forking. The rename_in_db() function is no longer needed.
* Add fork commandAndreas Gruenbacher2003-10-211-0/+43
|
* - When popping files, go through the list of applied patchesAndreas Gruenbacher2003-07-261-0/+19
| | | | | instead of looking at the series file: The series file may have changed.
* - Rename DIFF_OPTS environment variable to QUILT_DIFF_OPTSAndreas Gruenbacher2003-05-161-1/+6
| | | | | - Add ~/.quiltrc resource file (this file is sourced from the patchfsn file, which is used by all commands).
* *** empty log message ***Andreas Gruenbacher2003-04-091-1/+1
|
* - Never reorder files in patches. (Previously the file listAndreas Gruenbacher2003-04-091-1/+6
| | | | | | was run through (sort | uniq) to remove duplicate entries.) - Update test script to new format, and add regression test cases.
* The change from Mar 24 caused empty lines to be removed inAndreas Gruenbacher2003-04-091-1/+1
| | | | patch descriptions.