summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2012-02-01 18:08:49 +0100
committerJean Delvare <jdelvare@suse.de>2012-02-01 18:08:49 +0100
commit372b58dea042ad97fc517c36611441b25732076a (patch)
tree00151cc73ec23b8d55f4dd3fe24a658e73f79e47 /test
parentc9e79e1e567000b2f9b3c8164f7922f600b00958 (diff)
downloadquilt-372b58dea042ad97fc517c36611441b25732076a.tar.gz
backup-files: Batch mass restore
When restoring all files, batch the first steps (directory creation and target file removal) and last steps (optional touch and backup file removal). This makes the typical restore case (quilt pop) much, much faster. Note: a similar optimization would be possible for the removal function (-x), but quilt doesn't use this function at the moment. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
Diffstat (limited to 'test')
-rw-r--r--test/delete.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/delete.test b/test/delete.test
index 088b69a..f527ec5 100644
--- a/test/delete.test
+++ b/test/delete.test
@@ -77,7 +77,7 @@ Test the delete command.
$ quilt delete "test3"
> Removing patch %{P}test3
- >~ find: `?\.pc/test3/dir'?: Permission denied
+ >~ find: `?\./dir'?: Permission denied
$ chmod a+rx .pc/test3/dir