| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
There is no point in defining P and _P in the Makefile to allow for
QUILT_PATCHES_PREFIX to be set or unset if we do not use these
variables consistently in the test suite. Replace hardcoded
"patches/" with %{P} or %{_P} throughout the test suite wherever
relevant so that unsetting QUILT_PATCHES_PREFIX in test.quiltrc
actually works.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
|
| |
%{P} only makes sense when checking the output of a quilt command.
The value of QUILT_PATCHES_PREFIX can obviously not affect what the
user is writing on the command line, nor the output of other
commands.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
| |
We already have a function to figure out which files are touched by
unapplied patches. The only thing missing to let the user call "quilt
files" on unapplied patches was two small spots of glue.
|
|
|
|
|
|
|
| |
"quilt files" returns a blank line if no files are included in the
patch. This could easily break constructs such as "quilt files | wc
-l". Let "quilt files" return nothing at all if there are no files in
the patch.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let the test suite runner script create a separate working
directory for each test. This makes it possible to run several
tests in parallel, speeding up testing on SMP systems. It also
ensures that a broken test case can no longer cause another test
case to fail.
At this point, it is possible to run the test suite in parallel,
the final result (success or failure) will be correct, however
the output is hardly readable because the progress of all tests
are interlaced. This will be improved later.
As a nice side effect, this means we can drop the setup and
clean-up steps that were present in all test cases.
|
|
|
|
|
|
| |
- quilt/import.in: Don't use diff -U-1.
- Test suite: Recognize output of old versions of patch (from
jayvdb@gmail.com).
|
|
|
|
|
|
| |
recent versions. Recognize the old version's output when fixing
patch's output in the push command, and also accept the old
version's output in the test suite.
|
|
|
|
| |
interrupted test won't cause a test to fail.
|
|
|
|
|
| |
directory contains a patches/ sub-directory (iow, if quilt
itself is patched with quilt).
|
|
|
|
|
|
| |
not filter out tabs in patches, it's no more needed now that
--no-timestamps is used; do not use the "a" command. Based on a patch
by John Vandenberg.
|
|
|
|
|
| |
in the push and pop commands. This should bring a small
performance improvement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
*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.
|