From e7bb642fdbcfa9bb1d7265781f56d89e398f90b9 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Fri, 9 Jul 2004 07:26:21 +0000 Subject: - Switch from echo to printf for all translations: This is more stable than having expansions in messages that might change independent of the message. - Add print_patch function and always use it when printing patch names. Remove -n options from various scripts and use a global switch QUILT_PATCHES_PREFIX in .quiltrc to decide between patch names with and without directory prefix. Depending on user experience this switch may eventually go away. - Add --diffstat option to refresh command: If given, this option inserts diffstat statistics at the end of the patch header, or refreshes the existing diffstat output. No special tags in the path file (%diffstat or the like) are needed. - Minor fix inserting changelog into RPM specfile. --- test/snapshot.test | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/snapshot.test') diff --git a/test/snapshot.test b/test/snapshot.test index f70003e..9d8dce9 100644 --- a/test/snapshot.test +++ b/test/snapshot.test @@ -2,29 +2,29 @@ $ cd d $ quilt new snapshot - > Patch snapshot is now on top + > Patch %{P}snapshot is now on top $ quilt add f.txt - > File f.txt added to patch snapshot + > File f.txt added to patch %{P}snapshot $ cat > f.txt < f.txt $ quilt add g.txt - > File g.txt added to patch snapshot + > File g.txt added to patch %{P}snapshot $ cat > g.txt < g.txt $ quilt refresh - > Refreshed patch snapshot + > Refreshed patch %{P}snapshot $ quilt snapshot $ quilt fork - > Fork of snapshot created as snapshot-2 + > Fork of patch %{P}snapshot created as %{P}snapshot-2 $ quilt remove g.txt - > File g.txt removed from patch snapshot-2 + > File g.txt removed from patch %{P}snapshot-2 $ quilt add h.txt - > File h.txt added to patch snapshot-2 + > File h.txt added to patch %{P}snapshot-2 $ cat > h.txt < h.txt @@ -33,7 +33,7 @@ < more changes $ quilt refresh - > Refreshed patch snapshot-2 + > Refreshed patch %{P}snapshot-2 $ quilt diff --snapshot | grep -v "^\\(---\\|+++\\)" > Index: d/f.txt -- cgit