summaryrefslogtreecommitdiffstats
path: root/test/snapshot.test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-07-09 07:26:21 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-07-09 07:26:21 +0000
commite7bb642fdbcfa9bb1d7265781f56d89e398f90b9 (patch)
tree1ad9d16ce37e504ba72f9315c94ca9eb95597133 /test/snapshot.test
parentc871d820f8f00819613068aa77cb00d89e4508af (diff)
downloadquilt-e7bb642fdbcfa9bb1d7265781f56d89e398f90b9.tar.gz
- 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.
Diffstat (limited to 'test/snapshot.test')
-rw-r--r--test/snapshot.test16
1 files changed, 8 insertions, 8 deletions
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