diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-10-17 20:42:30 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-10-17 20:42:30 +0000 |
commit | 423903f9095b4e447b738715e460cb9319a44c2e (patch) | |
tree | 202804861a336d5b6794552193129d5ef308f460 /scripts | |
parent | 4664fd1972719706806eb94572beb92a64435f59 (diff) | |
download | quilt-423903f9095b4e447b738715e460cb9319a44c2e.tar.gz |
- When applying a patch with -q and without -f no (individual)
reject files are created, and the "patching file" comments
are missing as well. In that case, we don't know wich files the
"-- saving rejects to file /tmp/foo" comments belong to, and we
can't fic them up. Remove them, instead.
- Pop command: Touch files after they are restored so that tools
like make don't get confused.
- Update test cases.
- Bump to version 0.37.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/apatch.in | 7 | ||||
-rwxr-xr-x | scripts/rpatch.in | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/scripts/apatch.in b/scripts/apatch.in index 11f3739..7e58c50 100755 --- a/scripts/apatch.in +++ b/scripts/apatch.in @@ -97,8 +97,11 @@ apatch() echo "$output" \ | @AWK@ ' /^patching file / { filename = substr($0, 15) } - { gsub(/-- saving rejects to file .*/, - "-- rejects in file " filename) } + { if ('${#silent}' != 0) + gsub(/ -- saving rejects to file .*/, "") + else + gsub(/ -- saving rejects to file .*/, " -- rejects in file " filename) + } { print } ' elif [ -n "$output" ] diff --git a/scripts/rpatch.in b/scripts/rpatch.in index 7d179d3..b33652a 100755 --- a/scripts/rpatch.in +++ b/scripts/rpatch.in @@ -122,7 +122,7 @@ rpatch() then printf $"Removing patch %s\n" "$(print_patch $patch)" rm -f "$QUILT_PC/$patch/.timestamp" - @LIB@/backup-files $silent -r -B $QUILT_PC/$patch/ - + @LIB@/backup-files $silent -r -t -B $QUILT_PC/$patch/ - status=$? remove_from_db $patch rm -f $QUILT_PC/$patch~refresh |