summaryrefslogtreecommitdiffstats
path: root/test/auto-refresh.test
blob: 9658b712bfa8e063e0d336d20b3ce2d4ec060bbc (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
$ mkdir patches

$ echo a > a
$ echo b > b

$ quilt new a.patch
> Patch patches/a.patch is now on top
$ quilt add a
> File a added to patch patches/a.patch
$ echo A > a

$ quilt new b.patch
> Patch patches/b.patch is now on top
$ quilt add b
> File b added to patch patches/b.patch
$ echo B > b

$ quilt pop -fa --refresh
> Options -f and --refresh are mutually exclusive

$ quilt pop -a --refresh
> Refreshed patch patches/b.patch
> Removing patch patches/b.patch
> Restoring b
>
> Refreshed patch patches/a.patch
> Removing patch patches/a.patch
> Restoring a
>
> No patches applied