summaryrefslogtreecommitdiffstats
path: root/test/colon-in-patch-name.test
blob: 840bd5e0b7dcd084c21e1fbc82dc8b564b9ce81c (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
$ mkdir patches

$ quilt new "patch_with:strange[name]"
> Patch patches/patch_with:strange[name] is now on top

$ echo foo > foo
$ quilt add foo
> File foo added to patch patches/patch_with:strange[name]

$ quilt files
> foo

$ echo bar > foo
$ quilt diff -p ab -P "patch_with:strange[name]"
> Index: b/foo
> ===================================================================
> --- a/foo
> +++ b/foo
> @@ -1 +1 @@
> -foo
> +bar

$ quilt refresh -p ab
> Refreshed patch patches/patch_with:strange[name]

$ quilt applied
> patches/patch_with:strange[name]

$ quilt pop -q
> Removing patch patches/patch_with:strange[name]
> No patches applied

$ quilt next
> patches/patch_with:strange[name]

$ quilt push -q "patch_with:strange[name]"
> Applying patch patches/patch_with:strange[name]
> Now at patch patches/patch_with:strange[name]

$ quilt rename "another:strange(name)"
> Patch patches/patch_with:strange[name] renamed to patches/another:strange(name)

$ quilt series
> patches/another:strange(name)

$ quilt remove foo
> File foo removed from patch patches/another:strange(name)