blob: 86563913840f4171d51e04c8fb6993763e006e93 (
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
50
51
52
53
54
55
|
$ rm -rf d
$ mkdir -p d/patches
$ cd d
$ mkdir sub
$ echo f1 > sub/f
$ echo g1 > sub/g
$ quilt new p.diff
> Patch patches/p.diff is now on top
$ quilt add sub/f sub/g sub/h
> File sub/f added to patch patches/p.diff
> File sub/g added to patch patches/p.diff
> File sub/h added to patch patches/p.diff
$ rm -f sub/g
$ echo h1 > sub/h
$ quilt refresh
> Refreshed patch patches/p.diff
$ cd sub
$ echo f2 > f
$ quilt revert f
> Changes to sub/f in patch ../patches/p.diff reverted
$ quilt diff -z
$ quilt pop -qf
> Removing patch ../patches/p.diff
> No patches applied
$ quilt push -q
> Applying patch ../patches/p.diff
> Now at patch ../patches/p.diff
$ echo g2 > g
$ quilt revert g
> Changes to sub/g in patch ../patches/p.diff reverted
$ quilt diff -z
$ quilt pop -qf
> Removing patch ../patches/p.diff
> No patches applied
$ quilt push -q
> Applying patch ../patches/p.diff
> Now at patch ../patches/p.diff
$ echo h2 > h
$ quilt revert h
> Changes to sub/h in patch ../patches/p.diff reverted
$ quilt diff -z
$ cd ../..
$ rm -rf d
|