Hello Richard Purdie
Above patch in lib/bb/fetch2/git.py fails "devtool modify" for the recipe which uses ${AUTOREV}
Raised a topic on the same(below URL).
Not expert in complete workflow. To verify it set __BBSEENSRCREV as 1 above your patch( which is totally wrong this is just to check if its the issue). It actually works as expected
d.setVar('__BBSEENSRCREV', '1')
if not d.getVar("__BBSEENSRCREV"):
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).")
Just want to understand how __BBSEENSRCREV is set. is it possible to set this variable/ignore this check for devtool operations