On Fri, Dec 10, 2010 at 09:24:36AM -0700, Chris Larson wrote: > 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)
I've forgot :%s/|.*//gc > > :%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. No problem and you're welcome, even worse things can happen with inocently looking patch like this one was.. as RP said few minutes ago.. The fetcher is a set of cornercases ;-) -- Martin 'JaMa' Jansa jabber: [email protected] _______________________________________________ Bitbake-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bitbake-dev
