summaryrefslogtreecommitdiffstats
path: root/test/revert2.test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2007-04-27 11:58:05 +0000
committerAndreas Gruenbacher <agruen@suse.de>2007-04-27 11:58:05 +0000
commitf1c186eeb1de83d7a9b74bafda49e6167a95c7f9 (patch)
tree6ae1bea9bef5e3eae31e09a313a9804f65774c00 /test/revert2.test
parent19b6aaf2f81ded0ee807abc2a6768c9f7ae4bee2 (diff)
downloadquilt-f1c186eeb1de83d7a9b74bafda49e6167a95c7f9.tar.gz
- Rename the ``remove'' command to ``revert'': this removes
ambiguities with the delete command, and more closely matches what the command does.
Diffstat (limited to 'test/revert2.test')
-rw-r--r--test/revert2.test29
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