Related, in 
https://www.debian.org/doc/manuals/developers-reference/pkgs.html#nmus-from-the-maintainer-s-point-of-view
we now have:

***
Note that easiest way to both check if your package has been NMUed,
and also automatically download and commit the changes into a
git-buildpackage maintained git repository is to run gbp import-dsc
--verbose --pristine-tar apt:<package>/sid. This example command
assumes you are working on the debian/latest branch preparing the next
upload to Debian unstable, and it assumes your apt has the deb-src
line active for Debian unstable.
***

Ideally though git-buildpackage could automatically check and warn if
the Debian archive has newer versions, and suggest the user to import
into git the NMUed version. Perhaps this could be an extra check that
runs version related commands are invoked, such as `gbp clone`, `gbp
import-*` or `gbp dch`.

Reply via email to