code_junkie

How do I export the Bazaar history of a subfolder

Nov 10th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. bzr split sub_folder
  2.  
  3. bzr fast-export BRANCH > full-history.fi
  4.  
  5. bzr fast-import-filter -i subfolder full-history.fi > subfolder.fi
  6.  
  7. bzr init-repo .
  8. bzr fast-import subfolder.fi
  9.  
  10. branch project:
  11. .. other files..
  12. framework/a.file
  13. framework/b.file
  14. framework/c.file
  15.  
  16. branch framework:
  17. a.file
  18. b.file
  19. c.file
  20.  
  21. bzr init .
  22. bzr add .
  23. bzr commit
  24.  
  25. bzr branch . mycopy
  26. bzr branch . myothercopy
Add Comment
Please, Sign In to add comment