chiark / gitweb /
git-debrebase: new-upstream: Fix error message for new version with bad syntax
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 31 Jul 2018 08:09:35 +0000 (09:09 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 31 Jul 2018 08:11:10 +0000 (09:11 +0100)
Calling
  new Dpkg::Version , check => 1
does not die or anything if it's wrong; it just returns undef.

The result is an error message about calling is_valid on an undefined
value.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>

No differences found