summaryrefslogtreecommitdiffstats
path: root/scripts/rpatch.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-03-13 23:25:46 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-03-13 23:25:46 +0000
commita8592ac4467b34abd9b0ffae9192163dc68112bc (patch)
tree6665dfb526098395d8631e057a44474c6dea2d31 /scripts/rpatch.in
parent8f761704d62fccdf2829c5b3e0203161231f3901 (diff)
downloadquilt-a8592ac4467b34abd9b0ffae9192163dc68112bc.tar.gz
- Revert `quilt fork' to how it originally worked: fork the
*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.
Diffstat (limited to 'scripts/rpatch.in')
-rwxr-xr-xscripts/rpatch.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rpatch.in b/scripts/rpatch.in
index e3882a9..9b5d6e7 100755
--- a/scripts/rpatch.in
+++ b/scripts/rpatch.in
@@ -130,7 +130,8 @@ rpatch()
then
echo $"Removing $patch"
rm -f "$QUILT_PC/$patch/.timestamp"
- @LIB@/backup-files $silent -f $pc_file -B $QUILT_PC/$patch/ -r
+ @LIB@/backup-files $silent -r -L -f $pc_file \
+ -B $QUILT_PC/$patch/
status=$?
remove_from_db $patch
rm -f $QUILT_PC/$patch~refresh