diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2007-04-27 11:58:05 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2007-04-27 11:58:05 +0000 |
commit | f1c186eeb1de83d7a9b74bafda49e6167a95c7f9 (patch) | |
tree | 6ae1bea9bef5e3eae31e09a313a9804f65774c00 /test/revert.test | |
parent | 19b6aaf2f81ded0ee807abc2a6768c9f7ae4bee2 (diff) | |
download | quilt-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/revert.test')
-rw-r--r-- | test/revert.test | 50 |
1 files changed, 50 insertions, 0 deletions
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 |