diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-02-06 00:19:37 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-02-06 00:19:37 +0000 |
commit | a0156293dd3acae66701f50b8cc0b7b5c3a2fb56 (patch) | |
tree | f690afc03503b39667902b7a397c43124a3afa5f | |
parent | aa7a0c42a70030064a436128974fb6e744874f60 (diff) | |
download | quilt-a0156293dd3acae66701f50b8cc0b7b5c3a2fb56.tar.gz |
refresh: create sub-directories automatically
-rw-r--r-- | BUGS | 2 | ||||
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/refresh.in | 2 |
3 files changed, 10 insertions, 0 deletions
@@ -7,3 +7,5 @@ * Patch destroys the backup files it generates if a file appears more than once in a patch. This is the reason why we use the backup-files utility instead. + +* quilt setup doesn't detect if the source file doesn't exist. diff --git a/quilt.changes b/quilt.changes index f8eb4f8..425f192 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Feb 6 01:22:52 +0100 2003 - agruen@suse.de + +- Quilt refresh: Create sub-directories in patches directory + so that new patches in sub-directories can be added easily. + +------------------------------------------------------------------- Wed Feb 5 12:37:34 +0100 2003 - agruen@suse.de - Quilt diff: If a patch has been force applied, quilt diff -z diff --git a/quilt/refresh.in b/quilt/refresh.in index 7357837..d9e41ae 100644 --- a/quilt/refresh.in +++ b/quilt/refresh.in @@ -181,6 +181,8 @@ else die 1 fi + mkdir -p $(dirname $patch_file) + if ! cat_file $patch_file \ | patch_description > $tmpfile2 || \ ! cat $tmpfile >> $tmpfile2 || \ |