summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fr.po: Update last translatorJean Delvare2014-01-221-1/+1
|
* configure: add compat symlinks for cp and md5sumKent R. Spillner2014-01-212-0/+5
| | | | | | | | | | | | | | | Allow distributors to provide compat symlinks for cp and md5sum on non-GNU systems. md5sum is used by quilt/scripts/inspect and is provided by GNU coreutils, but may be installed as gmd5sum on some systems (e.g. OpenBSD). quilt/scripts/backup-files invokes cp with some non-portable GNU-specific command line arguments (e.g. --parents --remove-destination --target-directory). Original diff from Jérémie Courrèges-Anglas <jca@wxcvbn.org> on OpenBSD ports mailing list. Reported-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org> Signed-off-by: Kent R. Spillner <kspillner@acm.org>
* Drop stray reference to bin/backup-files.Jean Delvare2014-01-201-2/+0
|
* Drop stray references to debian files.Jean Delvare2014-01-202-7/+2
|
* There is no reason to keep deprecated debian files in this treeMartin Quinson2014-01-2010-952/+0
| | | | | The debian package is maintained in git://git.debian.org/git/collab-maint/quilt nowadays.
* Swap negated if/else constructsJean Delvare2014-01-202-17/+17
| | | | | | | | | | | | | | Constructs of the form: if ! [ ... ] then ... else ... fi can be swapped to avoid the negation. It makes the code easier to read and slightly faster to run.
* Tree-wide white-space cleanupsJean Delvare2014-01-2045-222/+221
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* Forgot to add a changelog entry again...Jean Delvare2014-01-191-0/+6
|
* Exit with an error when diff's retcode=2 (error) on patch refreshMartin Quinson2014-01-194-2/+53
| | | | | | This is trigered e.g. when you try to add a binary file to a patch. This is actually creepy to think that we were not checking the retcode of diff :)
* empty-files.test: Coding style updateJean Delvare2014-01-181-10/+20
| | | | | | Use the same syntax for file testing as used in other test cases. It is more readable and avoids having to add yet another condition for $needs_shell.
* Document that -E is no longer passed to patch by defaultJean Delvare2014-01-171-1/+10
| | | | | | | Explain why -E is no longer passed to patch by default, and why a user may want to revert to the old behavior. Based on a preliminary patch by Martin Quinson.
* Test quilt refresh on a patch leaving an empty fileJean Delvare2014-01-172-0/+43
| | | | | | | Add a test case for "quilt refresh" on a patch leaving an empty file. We were already testing that imported patches doing that were handled properly, now we want to ensure that refreshing such patches preserves the information.
* Fix refreshing of patches emptying a fileJean Delvare2014-01-171-1/+1
| | | | | | | | | | | | | | Quilt can now import patches emptying a file, however the proper header formatting is lost on refresh. Fix it. The format is still not correct for patches creating a file. This is because quilt creates an empty backup file for every non-existent file being added to a patch. This is how quilt remembers that the file is modified by the top-most patch. Ideally the list of files belonging to the top-most patch should be stored separately in a metadata file. That being said, it is not critical in practice because GNU patch makes no difference between adding contents to a new file and adding contents to an empty file.
* test/refresh_patch_order.test: enforces the file order within a patchMartin Quinson2014-01-172-0/+67
|
* Add missing entries to quilt.changesJean Delvare2014-01-171-0/+29
|
* Add a test case for patches leaving empty filesJean Delvare2014-01-171-0/+85
| | | | | | For now this only covers the push and fold commands on imported patches, which we just fixed. Later we can add tests for the refresh command, which is still not OK.
* Stop using patch option -EJean Delvare2014-01-174-4/+4
| | | | | | | | | | | GNU patch version 2.5 and newer deals just fine with empty files, however our use of option -E breaks this feature. So stop using this option. Anyway, the manual page says: "Normally this option is unnecessary" and the test suite passes just fine without it. If anyone is using legacy patch formats which do require the use of option -E, they can add it to QUILT_PATCH_OPTS to revert to the previous behavior.
* bash_completion: Fix completion of patch namesJean Delvare2014-01-071-16/+21
| | | | | | | | | | | | | | When the user's quilt configuration file (~/.quiltrc or /etc/quilt.quiltrc) contains QUILT_PATCHES_PREFIX=yes (and the default /etc/quilt.quiltrc does), bash completion chokes on patch names. This is because quilt series, applied and unapplied return relative patch names instead of the expected absolute patch names. This can be solved by skipping configuration files when quilt is called from the bash completion script. This fixes bug #27111: https://savannah.nongnu.org/bugs/index.php?27111
* unset GREP_OPTIONS in bin/quilt, as it's quite easy to break quilt with ↵Martin Quinson2013-12-221-0/+4
| | | | uncommon options
* french translation back at 100%Martin Quinson2013-12-211-12/+18
|
* rerun gettext tools (no real change)Martin Quinson2013-12-215-0/+63
|
* bin/patch-wrapper.in: Die with an informative message when /proc is not mountedMartin Quinson2013-12-212-0/+11
|
* test/run: Documentation updateJean Delvare2013-12-201-4/+10
| | | | | * Remove the implemented features from the to-do list. * Document the command line interface.
* test/run: Fix variable substitutionJean Delvare2013-12-202-5/+36
| | | | | | | | | | | | | | | | Variable substitution on command lines was happening too early so setting a variable only took effect with the second next line of the test case. Additionally, there was no check that the environment variable was actually set. This resulted in perl warnings during the test suite if a variable is ever used before having been set. Fix both issues. Also add a test case for this feature, to avoid a future breakage. Some of the tester script features are tricky and easy to get wrong, so test them independently of quilt in a dedicated test case.
* test/run: Rewrite the main parsing loopJean Delvare2013-12-201-32/+33
| | | | | | | Rewrite the main parsing loop of the tester scripts, in a way which is easier to understand and avoids redundant tests. No functional change here.
* Fixup typo in commit 1006fad2ab35d5c37ab5f395323afb5a12b3aa42Jean Delvare2013-12-181-1/+1
|
* Fix typoJean Delvare2013-12-181-1/+1
|
* Man page: Document exit statusMartin Quinson2013-12-171-1/+11
| | | | | | | Documentation update: add an EXIT STATUS section to the manual page. Closes Debian bug #587001: http://bugs.debian.org/587001
* test: Check more return statusJean Delvare2013-12-171-0/+6
| | | | | Quilt pop at the bottom of the stack returns 2, as does quilt push at the top of the stack.
* Return 2 (instead of 1) when there is nothing to doMartin Quinson2013-12-172-4/+4
| | | | | | | | | | | | | This is mandatory to differentiate "error" and "everything's done". This really eases the scripting around quilt, for example in Debian's patchsys-quilt.mk. It used to works this way until quilt 0.33, and was broken accidentally (in commit 188c7dac) for "quilt push". Closes Debian bug #358792: http://bugs.debian.org/358792
* test: Record the status returned by every commandJean Delvare2013-12-175-16/+69
| | | | | | | - test/run: Record the status returned by every command, so that test cases can check them. - test/*.text: Test the status returned by all commands in 4 test cases.
* Man page: Clarify example sectionMartin Quinson2013-12-171-1/+1
| | | | Add a few words to the example section to make it clearer.
* Document overriding LESS in ~/.quiltrcKent R. Spillner2013-12-172-8/+7
| | | | | | | | Similar to EDITOR, document quilt's use of LESS when paging output. QUILT_LESS_ARGS is unnecessary, so revert 497979e561e880fb0d11be82c78544e5718d531b. Signed-off-by: Kent R. Spillner <kspillner@acm.org> Signed-off-by: Jean Delvare <jdelvare@suse.de>
* test: ignore leading whitespace in wc output.Kent R. Spillner2013-12-141-16/+16
| | | | | | | | | | | | POSIX-compliant implementations of wc right-justify each column of output in 7 character wide columns. Tests that verify the output of wc -l should take into account the number of digits in the line count and add the appropriate padding. Therefore, in order for the tests to pass with both POSIX-compliant and non-POSIX-compliant implementations of wc tests should match wc output against patterns with optional whitespace prefixes. Signed-off-by: Kent R. Spillner <kspillner@acm.org>
* scripts: let users override LESS env variable.Kent R. Spillner2013-12-142-1/+8
| | | | | | | | | Add a QUILT_LESS_ARGS variable that can be used to configure what quilt will set LESS to when LESS is undefined. Defaults to -FSRX so no functional change in the default case, but allows users to drop the -F argument as needed (for example, when using a multiline shell prompt) without explicitly setting LESS. Signed-off-by: Kent R. Spillner <kspillner@acm.org>
* guards: Fix a typoAndreas Gruenbacher2013-12-111-1/+1
|
* guards: Minor updateAndreas Gruenbacher2013-12-111-5/+9
|
* guards: Add option --with-guardsAndreas Gruenbacher2013-12-111-2/+5
| | | | guards -w prints the guards in the output stream.
* make some more strings as translatableMartin Quinson2013-12-083-4/+9
|
* Bump version to 0.61v0.61Martin Quinson2013-12-083-1444/+1226
|
* update 2 strings of the french translationMartin Quinson2013-12-082-6/+6
|
* update of line offsets (no real change)Martin Quinson2013-12-085-5/+5
|
* Add some missing MIME headers (MIME-Version, Content-Type)Martin Quinson2013-12-082-1/+5
| | | | This closes the bug #21114 on Savannah.
* add a test case where we CC someone w/o a nameMartin Quinson2013-12-081-7/+16
|
* fix the mail command so that it passes the testsuiteMartin Quinson2013-12-081-2/+2
| | | | (even if I'm not sure why the previous version breaks)
* document QUILT_COLORSMartin Quinson2013-12-082-6/+75
|
* remove the default color for patch_applied, as it is never usedMartin Quinson2013-12-081-1/+1
|
* accept recipents that have no full name along with the emailMartin Quinson2013-12-082-2/+8
|
* Makefile.in: Fix support for configure --with-xargsJean Delvare2013-09-302-0/+6
|
* delete.test: Cope with new quoting style in find error messageJean Delvare2013-09-302-1/+7
|