Hello Joël, it really seems that working in the extra-addons in a whole different front line...
This bzr fast-export --no-plain still didn't do the job for the financial extra-addons extraction: it blows out into what seems to be yet an other known bzr bug: rvalyi@rvalyi-laptop:/opt/openerp/branch/ref/61$ bzr fast-import-filter -i account_payment_extension/ -i purchase_payment/ -i sale_payment/ -i pxgo_bank_statement_analytic/ -i pxgo_cash_statement/ -i pxgo_bank_statement_running_balance/ -i paydays/ -i nan_account_bank_statement/ test2.fi.gz > subfolder3.fi rvalyi@rvalyi-laptop:/opt/openerp/branch/ref/61$ mkdir my_branch2 rvalyi@rvalyi-laptop:/opt/openerp/branch/ref/61$ cd my_branch2/ rvalyi@rvalyi-laptop:/opt/openerp/branch/ref/61/my_branch2$ bzr init Created a standalone tree (format: 2a) rvalyi@rvalyi-laptop:/opt/openerp/branch/ref/61/my_branch2$ bzr fast-import ../subfolder3.fi 00:38:13 Starting import of 195 commits ... ABORT: exception occurred processing commit :3891 bzr: ERROR: An inconsistent delta was supplied involving u'account_payment_extension/wizard', 'wizard-20121103023813-n2ko85s3333ayjzo-21' reason: repeated path See https://bugs.launchpad.net/bzr-fastimport/+bug/514560 Then I tried with that bzr fastimport fix-attempt/abandoned branch: https://code.launchpad.net/~ian-clatworthy/bzr-fastimport/inconsistent-delta-fixes (in fact upgrading its format and merging it with the trunk) but still no luck and the same bug... I should say it's trying to rescue the extra-addons is most frustrating thing I did since quite long ago! I lost my faith in these bzr tools, I'll write a dumb Ruby script doing brutal bzr revert of every revision to take, then brutally copying the files into my new branch and brutally committing them with the same message. That won't be the smartest fastest algorithm, but at least I think that will work and get the job done to migrate to new smallest branches. Frankly my whole impression is that both bzr and Launchpad have left in free fall with no momentum at all today. They all did great services for the OpenERP community, but the more I fight with them, the more I'm motivated to switch Akretion dev to Github. Stay tuned for the update on the extra-addons migration. Regards. -- Raphaël Valyi Founder and consultant http://twitter.com/rvalyi <http://twitter.com/#!/rvalyi> +55 21 2516 2954 www.akretion.com On Fri, Nov 2, 2012 at 2:52 PM, Joël Grand-Guillaume < [email protected]> wrote: > Dear all again, > > > Sorry to spam this, but I finally find out what goes wrong. We missed an > option when using the fast-export command. Here is the working procedure: > > I may be give some more detailed informations about the procedure I've > just tested: > > 1) Let's install the fasti-import Bazaar plugin by copying it into > ~.bazaar/plugins/ (see https://launchpad.net/bzr-fastimport) > > 2) Take a branch you want to extract one folder from, here I took : bzr > branch lp:c2c-addons/6.1 c2c-addons-61 > > *3) Export all history into the stream :* *bzr fast-export --no-plain > ./c2c-addons-61 test.fi.gz* > > 4) Filter the folder you wanna extract from, here analytic_hours_block, > into another stream : bzr fast-import-filter -i analytic_hours_block > test.fi.gz > subfolder.fi > > 5) Make a new folder and init it with bazaar: mkdir my_new_branch; cd > my_new_branch; bzr init . > > 6) Import all the history from the filtered stream : bzr fast-import ../ > subfolder.fi > > > Using this "--no-plain" include all missing revisions I had ! > > Regards, > > > Joël > > > -- > > > *Joël Grand-Guillaume** * > *Division Manager* > *Business Solutions* > * > * > *Camptocamp SA* > PSE A, CH-1015 Lausanne > > http://openerp.camptocamp.com/ > > > Phone: +41 21 619 10 28 > Office: +41 21 619 10 10 > Fax: +41 21 619 10 00 > Email: [email protected] > >
_______________________________________________ Mailing list: https://launchpad.net/~openerp-expert-framework Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-expert-framework More help : https://help.launchpad.net/ListHelp

