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

Reply via email to