File: revert2.test

package info (click to toggle)
quilt 0.48-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,244 kB
  • ctags: 193
  • sloc: sh: 5,922; perl: 1,369; lisp: 430; makefile: 388
file content (30 lines) | stat: -rw-r--r-- 660 bytes parent folder | download
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
	$ rm -rf d
	$ mkdir -p d/patches
	$ cd d

	$ quilt new revert.patch
	> Patch patches/revert.patch is now on top

	$ quilt add foo bar baz
	> File foo added to patch patches/revert.patch
	> File bar added to patch patches/revert.patch
	> File baz added to patch patches/revert.patch

	$ echo foo > foo
	$ echo bar > bar
	$ echo baz > baz
	$ quilt revert baz
	> Changes to baz in patch patches/revert.patch reverted

	$ quilt refresh
	> Refreshed patch patches/revert.patch

	$ echo will-revert > bar
	$ quilt revert bar
	> Changes to bar in patch patches/revert.patch reverted

	$ quilt refresh
	> Patch patches/revert.patch is unchanged

	$ cd ..
	$ rm -rf d