diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-02-21 18:26:58 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2014-02-21 18:26:58 +0100 |
commit | 3059659624d735ef3a54d11de1f0a6e057b4d75b (patch) | |
tree | 7e925bb31d1f634460fb32120138f5663eeaa1ec /test | |
parent | b2924b648737878d520656fa918a15a98c511d7f (diff) | |
download | quilt-3059659624d735ef3a54d11de1f0a6e057b4d75b.tar.gz |
patchfns: Simplify function find_patch_file further
find_patch_file is only used by "quilt import". It is called on patch
file names passed on the command line. The first part of the function
clearly looks for "external" patch files (with absolute or relative
paths.)
The second part looks for the patch in the series file. There are 3
possibilities:
* If the patch is not in series, then the import fails with:
Patch foo.patch does not exist
* If the patch is in series, applied, then the import fails with:
Patch foo.patch is applied
* If the patch is in series, not applied, then the import fails with:
Patch foo.patch already exists in series.
So this part of the function makes no sense and should be deleted.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions