summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* quilt-el: cleanup codes by introducing `quilt-cmd-to-list' function.Satoru Takeuchi2012-03-101-9/+10
|
* quilt-el: fix polluting namespace by nested function.Satoru Takeuchi2012-03-101-33/+29
|
* quilt-el: return to the original cwd even if `shell-command' failed.Satoru Takeuchi2012-03-101-4/+6
|
* quilt-el: update the maintainer's email addres.Satoru Takeuchi2012-03-101-1/+1
|
* quilt-el: optimize `quilt-revert'Satoru Takeuchi2012-03-101-1/+2
|
* quilt-el: considering default-directory' is nilSatoru Takeuchi2012-03-101-1/+2
|
* quilt-el: simplify quilt-revertSatoru Takeuchi2012-03-101-6/+2
|
* quilt-el: be aware of QUILT_PATCHESSatoru Takeuchi2012-03-101-2/+14
|
* Be less strict on changelog formatv0.60Jean Delvare2012-02-291-3/+0
| | | | Unrecognized lines are simply discarded now.
* Set version to 0.60 "Happy Birthday Lina".Jean Delvare2012-02-293-10/+15
|
* Update French translationJean Delvare2012-02-292-8/+14
|
* Resync translation files.Jean Delvare2012-02-295-194/+240
|
* Document the previous fixes.Jean Delvare2012-02-291-0/+9
|
* quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactivelyRaphaël Hertzog2012-02-292-0/+5
| | | | | | | | | POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working non-interactively which is not the case in POSIX mode. Bug-Debian: http://bugs.debian.org/462578 Reported-by: Brian M. Carlson <sandals@crustytoothpaste.ath.cx> Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
* Ensure quilt(1) documents the correct patches directoryJulien Viard de Galbert2012-02-291-1/+1
| | | | | | | | | | | | | Within the Debian source package, .pc/quilt_patches ensures that QUILT_PATCHES is set to debian/patches but when we build the documentation we want the real default directory used by quilt, aka "patches". We achieve this by tricking quilt into using a non-existing .pc directory so that we get the real default value. Bug-Debian: http://bugs.debian.org/585438 Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
* Update quilt.changes and configure after merge.Jean Delvare2012-02-292-3/+18
|
* Merge remote branch 'origin/fixes-0.51'Jean Delvare2012-02-293-19/+58
|\
| * quilt mail: Implement option -M to read the introduction message from a filefixes-0.51Andreas Gruenbacher2012-02-161-4/+21
| |
| * Relax the bash version requirement to version 3.0Andreas Gruenbacher2012-02-161-2/+14
| | | | | | | | | | Apparently bash versions older than 3.2 are still in use. Reinstate the configure check for the quoting bug in bash 3.1 which broke quilt.
| * quilt mail: Skip additional recipients with "bad" email addressesAndreas Gruenbacher2012-02-111-1/+1
| | | | | | | | | | | | Instead of failing when a proper email address cannot be extracted from a Signed-off-by, Acked-by, Suggested-by, Reviewed-by, Requested-by, Reported-by, Tested-by, To, or Cc line, give a warning and skip that line.
| * edmail: Allow to add "good" recipient addresses while skipping "bad" onesAndreas Gruenbacher2012-02-111-3/+16
| |
| * quilt mail: Fix wrong use of edmailAndreas Gruenbacher2012-02-111-1/+1
| | | | | | | | | | It makes no sense to pass the recipient addresses to edmail when removing Bcc lines.
| * quilt mail: Require a "reasonable looking" email address in patch headersAndreas Gruenbacher2012-02-111-4/+4
| | | | | | | | | | | | | | In particular, empty strings will not work as email addresses. Also, use sed's "I" flag for case-insensitive searching; "i" will sometimes be mistaken for the "insert" operator.
| * quilt mail: Don't use localized date format in From linesAndreas Gruenbacher2012-02-111-1/+1
| |
| * quilt mail: Improve error reporting (requires bash 3.2)Andreas Gruenbacher2012-02-112-17/+14
| | | | | | | | | | | | | | Improve error checking by using the "pipefail" option, available since bash 3. Since bash 3.1 is known to be broken already, require bash 3.2 directly. Report the patch name as well when "quilt mail" finds a problem with a patch.
* | Regenerate pdf documentation (English version)Jean Delvare2012-02-221-0/+0
| |
* | Document the patch grouping featureJean Delvare2012-02-223-3/+10
| | | | | | | | This fixes bug #12428.
* | Add files generated for the russian documentation.Jean Delvare2012-02-221-3/+6
| |
* | README: Update the list of helper scripts/filesJean Delvare2012-02-171-5/+2
| |
* | setup.test: Increase test coverageJean Delvare2012-02-172-3/+51
| |
* | setup, scripts/inspect: Properly escape spaces in directory and archive namesJean Delvare2012-02-173-4/+18
| | | | | | | | This fixes bug #25579.
* | Makefile.in: Let "make clean" delete generated source tarballsJean Delvare2012-02-012-0/+9
| |
* | Makefile.in: Include utilfns when generating source tarball (for real)Jean Delvare2012-02-011-0/+1
| |
* | grep: Accept file names with spacesJean Delvare2012-02-013-2/+14
| | | | | | | | | | | | | | | | | | | | This is a continuation of Yasushi SHOJI's initial work of fixing support for file names with spaces. This time I fixed support in the grep command. This is particularly important because the grep command operates on all files in the work tree, even if they aren't touched by any patch, so the chances that one of them has a space in its name is greater. As before, no guarantee is made that all options are covered, but this should be a good starting point.
* | Makefile.in: Include utilfns when generating source tarballJean Delvare2012-02-011-0/+5
| |
* | Whitespace cleanups.Jean Delvare2012-02-011-4/+4
| |
* | backup-files: Skip echo-only loops in silent modeJean Delvare2012-02-012-13/+23
| | | | | | | | | | | | | | | | In silent mode, loops which do nothing but print messages turn into no-ops. Skip them completely to save some time. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Keep /dev/null openedJean Delvare2012-02-011-7/+9
| | | | | | | | | | | | | | | | Keep /dev/null opened as we will need it repeatedly. Avoiding repeated calls to open brings a small performance boost. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Drop support for backup removalJean Delvare2012-02-012-17/+3
| | | | | | | | | | | | | | Drop support for backup removal (option -x). Quilt doesn't use it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Drop support for -L on restoreJean Delvare2012-02-011-14/+4
| | | | | | | | | | | | | | Drop support for -L on restore, quilt doesn't use it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Inline restore_fastJean Delvare2012-02-011-22/+10
| | | | | | | | | | | | | | | | | | The two callers of restore_fast already know if they are operating on an empty or non-empty backup-file. Move the code back to the calling sites, to avoid this redundant test. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Clarify command line optionsJean Delvare2012-02-011-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Misc cleanups: * Add my copyright and simplify the reference to the initial version. * Drop the program description, as it is redundant with the usage function. * Clarify the usage message, to make it clear what each option is doing, and which ones are compatible with each other. * Let the script complain if no action is given, as this has to be a user or developer error. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Try mass copy first on copyJean Delvare2012-02-011-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When copying many files to a snapshot directory, try a mass copy first, as it is much faster. It is however not portable and may thus fail. If it fails, fallback to per-file processing, which always works. This change results in a huge performance boost on systems where the cp command supports all the required options (which includes all systems using GNU coreutils.) Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Separate function copy_manyJean Delvare2012-02-011-0/+33
| | | | | | | | | | | | | | | | Create a dedicated function for mass-copying files. At the moment it isn't bringing any gain, but this will get improved next. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: New function for copyJean Delvare2012-02-013-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are abusing backup-files's "backup" function for quilt snapshot. What we need is semantically different, and it works almost by accident. We don't want linked copies of the files, we want real copies, and the fact that "quilt snapshot" may touch the working files is a little frightening IMHO. So, implement a separate "copy" function which does what we need. Not only it does the right thing, but it will also be somewhat faster than "backup", as we can do straight copies of the files without checking for their link count first. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Skip first mkdir on restoreJean Delvare2012-02-011-6/+3
| | | | | | | | | | | | | | | | | | | | The mass link/copy will create the required directories by itself if it succeeds. As files being removed don't require the creation of a directory, this means we can move the creation of the directories to the case where non-empty files have to be processed individually. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Try mass link/copy first on restoreJean Delvare2012-02-011-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When restoring all files from a backup directory, try a mass link (or copy) first, as it is much faster. It is however not portable and may thus fail. If it fails, fallback to per-file processing, which always works. This change results in a huge performance boost on systems where the cp command supports all the required options (which includes all systems using GNU coreutils.) Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Separate lists for empty and non-empty filesJean Delvare2012-02-011-14/+22
| | | | | | | | | | | | | | | | Create two separate lists for empty and non-empty files. This will allow dedicated handling of each set of files. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Remember the list of filesJean Delvare2012-02-015-54/+30
| | | | | | | | | | | | | | | | | | | | Remember the results of the find command, to avoid having to run it again later. We use a temporary file rather than a local variable, because you can't store binary zeroes in a bash string, and because the temporary file approach performs better on large file sets. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* | backup-files: Quick exit when unlinking is not neededJean Delvare2012-02-011-0/+14
| | | | | | | | | | | | | | | | | | | | | | The "check for hard links" use case is almost always a no-op. Check if any work is needed at all first, and only if this is the case, walk the list of files and unlink the faulty files. This approach results in a huge performance gain in the most common case, and a very small performance loss in the uncommon case. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>