| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Old versions of bash (at least version 3.2.51) don't properly handle
prefix stripping together with quoting when evaluating an array. So
strip the prefix before adding each file to opt_files. It's faster
anyway.
Same thing when diffing against a snapshot, strip the snapshot
directory prefix from file names before evaluating the quoted files
array.
This fixes a regression introduced in:
commit b0baeeb6b61132af92fd75df5f912554d295dee1
Author: Jean Delvare <jdelvare@suse.de>
Date: Fri Mar 25 18:48:49 2011 +0100
diff, refresh: Accept file names with spaces
(Only affecting the versions of bash which have the aforementioned bug.)
This also fixes a bug when called from a subdirectory and a file
passed as an argument starts with "./".
Extend the test suite to test both cases, so that such bugs can't
sneak in in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
that one. Only mail all patches to the end of the series if the
last patch is '-', or no patches have been specified.
- Revert command: change semantics to really revert the changes
relative to the patch instead of removing the file from the
patch. That's much more useful; the other behavior is available
as ``quilt diff <file> | patch -p1'', anyway.
- Update German translation.
|
|
|
|
|
| |
ambiguities with the delete command, and more closely matches
what the command does.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
.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.
|
|
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.
|