| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
Documentation update: add an EXIT STATUS section to the manual page.
Closes Debian bug #587001:
http://bugs.debian.org/587001
|
|
|
|
|
| |
Quilt pop at the bottom of the stack returns 2, as does quilt push at
the top of the stack.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
|
|
|
|
| |
Add a few words to the example section to make it clearer.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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 -w prints the guards in the output stream.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This closes the bug #21114 on Savannah.
|
| |
|
|
|
|
| |
(even if I'm not sure why the previous version breaks)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Timestamp comparisons when popping a patch were fixed in commit
005922085f0135c35baa4b0e8db6f05d78586377, so we can get rid of this
sleep in the test suite.
|
|
|
|
|
|
|
|
|
|
| |
Support for obsolete find -perm +MODE syntax was removed from GNU
findutils by commit
v4.5.10-144-g90f0c5d24153ad3327edd6f2249fc95a5cfb72e0.
Reported by Dmitry V. Levin.
Also -maxdepth is not portable and not needed so drop it.
|
|
|
|
|
| |
Add support for multiple files to "quilt patches". Patches will be
printed, that modify any of the listed files.
|
|
|
|
|
| |
Let "quilt patches" also match deleted files in unapplied patches.
Commit 4df47975 was supposed to fix that already, but did not really.
|
|
|
|
|
|
|
| |
Commit 2e581933 added a parameter to function scan_unapplied but the
corresponding shift wasn't adjusted accordingly. Apparently this bug
was harmless but there is a slight performance penalty so let's fix
it still.
|
| |
|
| |
|
|
|
|
| |
commands accepting it
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It should make no difference if the parser is right, but will make it
easier to spot bugs in said parser.
|
|
|
|
|
|
| |
As a bug was recently found in this script, add a test case covering
both unified and context patch formats, so that hopefully no other
bug creeps in in the future.
|
|
|
|
|
|
|
|
|
| |
the script for trailing whitespace removal fails for me if a
context diff has an "delete-only" chunk at the end. The following
patch fixes this for me.
[JD: Add one more check for when the "delete-only" chunk is
not at the end.]
|
|
|
|
|
| |
When a helper script is called directly from a test case, it must be
added to the dependencies for that test case.
|
|
|
|
|
| |
Sort the output of remove-trailing-ws for predictable output. This is
needed to include remove-trailing-ws in the test suite.
|
|
|
|
|
|
|
| |
If told to refresh a patch and the patch is empty, still obey. The
user should know what he/she is doing. If the patch was non-empty
before, we must erase it, otherwise a subsequent pop will fail,
complaining that the patch should be refreshed.
|
|
|
|
|
|
|
|
| |
We have to patch temporary files when checking if a patch can be
popped without losing pending changes. When this fails, the status
code we get from "patch" isn't accurate enough to draw conclusions
so don't even try. Just compare the result with the current working
files and tell the user if there is any difference or not.
|
|
|
|
|
|
| |
push:apply_patch() uses --force by default but pop:check_for_pending_changes()
does not. This leads to a problem when trying to pop a patch that changes
files which were originally read-only: patch refuses to touch them.
|
| |
|
| |
|
| |
|