diff options
author | Jean Delvare <jdelvare@suse.de> | 2020-06-09 11:24:47 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2020-06-09 11:24:47 +0200 |
commit | 8b39a960afcf45cd4f5804ae62b6b0656bdb191d (patch) | |
tree | e027c39cd464b88c763848570772b6c3db0ed32b /test/rename.test | |
parent | bbbf4aaf170b63e5cc222ac2194290a4745026bb (diff) | |
download | quilt-8b39a960afcf45cd4f5804ae62b6b0656bdb191d.tar.gz |
Consistently complain early if no series file is found
If no series file is found, let all quilt commands which need it
complain about it immediately. This aligns the behavior of the "pop",
"series" and "snapshot" commands with how all other commands behave.
The "import", "new", "setup" and "upgrade" commands are not affected
by this change, as they are legitimately called without a series
file.
A side effect of this change is that the "pop", "push", "top" and
"next" commands will now return with error code 1 instead of 2 when
called outside of a quilt-managed tree.
Inspired by Martin Quinson. This fixes Debian bug #369908:
https://bugs.debian.org/369908
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'test/rename.test')
0 files changed, 0 insertions, 0 deletions