diff options
Diffstat (limited to 'test/revert2.test')
-rw-r--r-- | test/revert2.test | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/revert2.test b/test/revert2.test new file mode 100644 index 0000000..af86a93 --- /dev/null +++ b/test/revert2.test @@ -0,0 +1,29 @@ + $ 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 + + $ quilt revert bar + > Changes to bar in patch patches/revert.patch reverted + + $ quilt refresh + > Refreshed patch patches/revert.patch + + $ cd .. + $ rm -rf d |