blob: cf7eae68e9bc51191bdc8e4e6b3d1b21441ae69b (
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
|
$ rm -rf d
$ mkdir -p d/patches
$ cd d
$ echo f1 > f
$ echo g1 > g
$ quilt new p.diff
> Patch patches/p.diff is now on top
$ quilt add f g h
> File f added to patch patches/p.diff
> File g added to patch patches/p.diff
> File h added to patch patches/p.diff
$ echo h1 > h
$ rm -f g
$ quilt refresh
> Refreshed patch patches/p.diff
$ quilt revert f
> Changes to 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
$ quilt revert g
> Changes to 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
$ quilt revert h
> Changes to h in patch patches/p.diff reverted
$ quilt diff -z
$ cd ..
$ rm -rf d
|