From f1c186eeb1de83d7a9b74bafda49e6167a95c7f9 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Fri, 27 Apr 2007 11:58:05 +0000 Subject: - Rename the ``remove'' command to ``revert'': this removes ambiguities with the delete command, and more closely matches what the command does. --- test/revert.test | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 test/revert.test (limited to 'test/revert.test') diff --git a/test/revert.test b/test/revert.test new file mode 100644 index 0000000..cf7eae6 --- /dev/null +++ b/test/revert.test @@ -0,0 +1,50 @@ + $ rm -rf d + $ mkdir -p d/patches + $ cd d + + $ echo f1 > f + $ echo g1 > g + $ quilt new p.diff + > Patch patches/p.diff is now on top + + $ quilt add f g h + > File f added to patch patches/p.diff + > File g added to patch patches/p.diff + > File h added to patch patches/p.diff + + $ echo h1 > h + $ rm -f g + $ quilt refresh + > Refreshed patch patches/p.diff + + $ quilt revert f + > Changes to f in patch patches/p.diff reverted + + $ quilt diff -z + $ quilt pop -qf + > Removing patch patches/p.diff + > No patches applied + + $ quilt push -q + > Applying patch patches/p.diff + > Now at patch patches/p.diff + + $ quilt revert g + > Changes to g in patch patches/p.diff reverted + + $ quilt diff -z + $ quilt pop -qf + > Removing patch patches/p.diff + > No patches applied + + $ quilt push -q + > Applying patch patches/p.diff + > Now at patch patches/p.diff + + $ quilt revert h + > Changes to h in patch patches/p.diff reverted + + $ quilt diff -z + + $ cd .. + $ rm -rf d -- cgit