blob: 154e2e960d647d125b9111303426c8ef8edfcdb9 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
Regression test: Quilt did reorder files in patches.
$ mkdir d
$ cd d
$ echo one > f
$ echo one > g
$ mkdir patches
$ cat > patches/test.diff
< --- g.orig 2003-04-09 01:48:01.000000000 +0200
< +++ g 2003-04-09 01:49:17.000000000 +0200
< @@ -1 +1 @@
< -one
< +two
< --- f.orig 2003-04-09 01:48:01.000000000 +0200
< +++ f 2003-04-09 01:49:17.000000000 +0200
< @@ -1 +1 @@
< -one
< +two
$ cat > patches/series
< test.diff -p0
$ quilt push -q
> Applying test.diff
> Now at patch test.diff
$ quilt pop -q
> Removing test.diff
> No patches applied
$ echo one > h
$ sleep 2
$ cat >> patches/test.diff
< --- h.orig 2003-04-09 01:48:01.000000000 +0200
< +++ h 2003-04-09 01:49:17.000000000 +0200
< @@ -1 +1 @@
< -one
< +two
$ quilt push -q
> Applying test.diff
> Now at patch test.diff
$ quilt files
> g
> f
> h
$ cd ..
$ rm -rf d
|