diff options
author | Jean Delvare <jdelvare@suse.de> | 2015-12-04 19:26:43 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2015-12-04 19:26:43 +0100 |
commit | 6fc4c833bf7ff9a9f8b2e2d3240bfe383439f752 (patch) | |
tree | a03e2d5445f716b8cb20e289d96a042d0a34ccb4 /test | |
parent | 5833c267edd95e0e0fd7fe3574fa68e2d648c9f6 (diff) | |
download | quilt-6fc4c833bf7ff9a9f8b2e2d3240bfe383439f752.tar.gz |
Project settings have priority
If QUILT_PATCHES or QUILT_SERIES are set both in ~/.quiltrc and
.pc/.quilt_patches (respectively .pc/.quilt_series), the former
currently takes precedence. This pretty much voids the value of
per-project settings. Project settings should have the highest
priority.
Diffstat (limited to 'test')
-rw-r--r-- | test/project-settings.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/project-settings.test b/test/project-settings.test new file mode 100644 index 0000000..744342d --- /dev/null +++ b/test/project-settings.test @@ -0,0 +1,22 @@ +# Project settings should take precedence over user settings +$ export QUILT_PATCHES=my_patches +$ export QUILT_SERIES=my_series + +$ mkdir quilt_patches +$ mkdir .pc +$ echo 2 > .pc/.version +$ echo quilt_patches > .pc/.quilt_patches +$ echo quilt_series > .pc/.quilt_series +$ echo create.patch > quilt_patches/quilt_series + +$ cat > quilt_patches/create.patch +< --- a/file +< +++ b/file +< @@ -0,0 +1 @@ +< +new line + +$ quilt push +> Applying patch quilt_patches/create.patch +> patching file file +> +> Now at patch quilt_patches/create.patch |