blob: d1c6bd098f05f45de0cd86dc9ec8a68a7d893d78 (
plain) (
tree)
|
|
$ 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
|