destupdate: extract validation logic
One of the main goal of having consolidated destination function is to allow
extension to play with this logic. We extract sub logic to make is wrapping more
practical.
mercurial (__VERSION__) unstable; urgency=medium * Automated build performed by upstream. -- Mercurial Devel <mercurial-devel@selenic.com> __DATE__