summaryrefslogtreecommitdiffstats
path: root/test/two.test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-02-20 14:30:45 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-02-20 14:30:45 +0000
commitbd0773bed9c43affd7f0af8b04fa9850bdd588b2 (patch)
tree381c147a8a42ed8f595c0446f8f67fcb31e29ad8 /test/two.test
parent2e083b83410563b1bc5ff8b2379315178ccc7bfd (diff)
downloadquilt-bd0773bed9c43affd7f0af8b04fa9850bdd588b2.tar.gz
- Sub-directory support:
+ Fix another bug that triggers when /patches exists. + Working in sub-directories: Force `quilt new' to always create the new patch in the current working directory even if there is a patches/ sub-directory further up the directory tree. This should restore the behavior from before Jan 28 very well. - quilt files, diff, refresh: Sort the files in the patch alphabetically.
Diffstat (limited to 'test/two.test')
-rw-r--r--test/two.test13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/two.test b/test/two.test
index e365afe..372dd72 100644
--- a/test/two.test
+++ b/test/two.test
@@ -1,12 +1,13 @@
(To run, type `./run two.test' in this directory.)
- $ mkdir -p d/patches d/d
- $ cd d/d
- $ mkdir dir
- $ echo "This is file one." > dir/file1
+ $ mkdir -p d/d
+ $ cd d
$ quilt new patch1.diff
> Patch patch1.diff is now on top
+ $ cd d
+ $ mkdir dir
+ $ echo "This is file one." > dir/file1
$ quilt add dir/file1
> File d/dir/file1 added to patch patch1.diff
@@ -64,9 +65,11 @@
$ quilt refresh
> Refreshed patch patch1.diff
+ $ cd ..
$ quilt new patch2.diff
> Patch patch2.diff is now on top
+ $ cd d
$ quilt add dir/file3
> File d/dir/file3 added to patch patch2.diff
@@ -96,9 +99,11 @@
>
> Now at patch patch2.diff
+ $ cd ..
$ quilt new subdir/patch3.diff
> Patch subdir/patch3.diff is now on top
+ $ cd d
$ quilt add file4
> File d/file4 added to patch subdir/patch3.diff