summaryrefslogtreecommitdiffstats
path: root/test/refresh-z.test
blob: 296b92aa89c14c32e46367cd796913568b7535b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	$ mkdir patches

	$ quilt new test.diff
	> Patch %{P}test.diff is now on top

	$ quilt add foo
	> File foo added to patch %{P}test.diff

	$ echo foo > foo
	$ quilt refresh
	> Refreshed patch %{P}test.diff

	$ echo bar >> foo
	$ quilt refresh -z
	> Fork of patch %{P}test.diff created as %{P}test-2.diff

	$ echo baz >> foo
	$ quilt refresh -zbaz.diff
	> Fork of patch %{P}test-2.diff created as %{P}baz.diff

	$ quilt series
	> %{P}test.diff
	> %{P}test-2.diff
	> %{P}baz.diff