In this example I use the “bashoneliners” project, replace the project name appropriately for your case.

  1. Create a new empty Subversion repository on Google Code

  2. Checkout from Google with bzr co

  3. Pull from the original Bazaar repository:

bzr pull path_to_branch --overwrite

To keep the Subversion repository up to date on Google Code, simply run bzr pull without other arguments.

Remember that you must never commit on the mirror Subversion repository by other methods, that will mess things up. But that is normal for a “mirror” repository isn’t it.

blog comments powered by Disqus