#1145181 Nasty typo in is_native deprecation message

#1145181#5
Date:
2026-08-23 13:59:58 UTC
From:
To:
Greetings,

using Dpkg::Version::is_native triggers a deprecation warning now and
a recommendation:

| (...) depending on the context, using has_revsion() might be sensible (...)

Now using that, I get

| Can't locate object method "has_revsion" via package "Dpkg::Version (...)

That took a moment too long - it's just a typo, correct was has_rev*i*sion.

And while one it, mind to clarify the logic of has_revision is inverted?
So, for the manpage:

- using the $v->has_revision() method might be sensible.
+ using the negated result of $v->has_revision() method might be sensible.

This would avoid a pitfall for people who want to adapt their code.


All the best

    Christoph