On Fri, Dec 10, 2010 at 9:22 AM, Martin Jansa <[email protected]> wrote:
> That patch was reverted few minutes ago.. so for someone as lucky as I
> was to rebuild from scratch in that timeslot with that patch applied,
> here is how I've "downgraded" my persistent db to old revision keys:
>
> sqlite3 bb_persist_data.sqlite3 "select * from BB_URI_LOCALCOUNT where key 
> like '%master-%';" >> master.sql
> check master.sql for false positives (ie if your branch or PN had
> master- in it)
>
> create updates (I did it in vim after checking false positives)
> :%s/^\(.*\)master-\(.*\)$/UPDATE BB_URI_LOCALCOUNT set key='\1\2' where 
> key='\1master-\2';/gc
>
> cat master.sql| sqlite3 bb_persist_data.sqlite3
>
> cd oe/recipes;
> git grep 'git://.*branch=' | grep -v branch=master > branch.list
> and do the same for other branch names you care about

Thanks for this, Martin, and sorry about the hassle.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to